From cb58bdf49582bddfdfe7555035eca7c90d649439 Mon Sep 17 00:00:00 2001 From: umarcor <38422348+umarcor@users.noreply.github.com> Date: Wed, 20 May 2020 23:15:27 +0200 Subject: ci: adjust pkg tag in ci-run.sh (#1329) --- dist/ci-run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dist/ci-run.sh') 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 ;; *) -- cgit v1.2.3