From dc642e99c93259d14aa5d1abbfa6ad11e1810081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 27 Jan 2021 23:55:45 +0100 Subject: [PATCH] Remove ref/tags from version --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index 686cdbf3..4fe7dbaf 100755 --- a/build.sh +++ b/build.sh @@ -62,6 +62,7 @@ docker images # eg before: 0.18.24-1, after 0.18.24 if [[ ${BRANCH:-} ]]; then BRANCH_VERSION=${BRANCH%-*} + BRANCH_VERSION=${BRANCH_VERSION#refs/tags/} fi # only push when: