Skip to content

Commit

Permalink
release: fix hack/semtag when there are one or more git remotes befor…
Browse files Browse the repository at this point in the history
…e `origin`
  • Loading branch information
mumoshu committed Jan 21, 2019
1 parent 7d976e5 commit 171eacf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/semtag
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ $__commitlist"
git tag -a $__version -m "$__message"

# If we have a remote, we push there
local __remote=$(git remote)
local __remote=${SEMTAG_REMOTE:-$(git remote)}
if [[ -n $__remote ]]; then
git push $__remote $__version > /dev/null
if [ $? -eq 0 ]; then
Expand Down

0 comments on commit 171eacf

Please sign in to comment.