diff options
-rwxr-xr-x | dist/ci-run.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/ci-run.sh b/dist/ci-run.sh index 87e130e21..838d97d4e 100755 --- a/dist/ci-run.sh +++ b/dist/ci-run.sh @@ -135,7 +135,7 @@ vertag() { echo $1 | cut -c2- else # Regular tag (like snapshots), nothing to change. - echo "$2" + echo "$1" fi } @@ -163,7 +163,7 @@ buildCmdOpts () { # Compute package name case "$GITHUB_REF" in *tags*) - PKG_TAG="$(vertag "`echo "$GITHUB_REF" | sed 's#^refs/tags/\(.*\)#\1#g'`" "$GITHUB_REF")" + PKG_TAG="$(vertag "`echo "$GITHUB_REF" | sed 's#^refs/tags/\(.*\)#\1#g'`")" ;; *heads*|*pull*) PKG_TAG="`notag`" @@ -172,7 +172,7 @@ buildCmdOpts () { if [ -z "$TRAVIS_TAG" ]; then PKG_TAG="`notag`" else - PKG_TAG="`vertag "$TRAVIS_TAG" "$TRAVIS_TAG"`" + PKG_TAG="`vertag "$TRAVIS_TAG"`" fi ;; *) |