release: fix hack/semtag when there are one or more git remotes before `origin`
This commit is contained in:
parent
7d976e5271
commit
171eacfb3c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue