diff options
author | umarcor <38422348+umarcor@users.noreply.github.com> | 2020-05-20 23:15:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-20 23:15:27 +0200 |
commit | cb58bdf49582bddfdfe7555035eca7c90d649439 (patch) | |
tree | a36749c83d06855876a86f156cf768803a7b881a | |
parent | c69c9c51c9235835bb876e4373bb4c784cf7c96d (diff) | |
download | ghdl-cb58bdf49582bddfdfe7555035eca7c90d649439.tar.gz ghdl-cb58bdf49582bddfdfe7555035eca7c90d649439.tar.bz2 ghdl-cb58bdf49582bddfdfe7555035eca7c90d649439.zip |
ci: adjust pkg tag in ci-run.sh (#1329)
-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 ;; *) |