From 724dcf5146c1a1d7ab06ba447be71a9189f03281 Mon Sep 17 00:00:00 2001 From: timsuchanek Date: Fri, 1 Jun 2018 15:03:48 +0200 Subject: [PATCH] fix docker tag step --- cli/scripts/publish.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/scripts/publish.sh b/cli/scripts/publish.sh index 7f589f1078..2098284866 100755 --- a/cli/scripts/publish.sh +++ b/cli/scripts/publish.sh @@ -65,6 +65,9 @@ if [[ $CIRCLE_TAG ]]; then nextDockerTag="${tagElements[0]}.${nextDockerMinor}" else step=1 + if [ $CIRCLE_BRANCH == "alpha" ]; then + step=2 + fi nextDockerMinor=$((nextDockerMinor + step)) nextDockerTag="${tagElements[0]}.${nextDockerMinor}-${CIRCLE_BRANCH}" fi