From e7317fa30f01e3e0fc42c27105c26149d8484493 Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Wed, 21 Apr 2021 23:48:42 +0200 Subject: [PATCH] Add version check --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e923cab..696f499 100755 --- a/build.sh +++ b/build.sh @@ -34,7 +34,7 @@ if [ "$LATEST_RELEASE" = "$LATEST_TAG" ]; then echo "Tag: $LATEST_TAG" exit 78 # drone.io exit code to stop but success the pipeline fi -exit 1 + SEMVER=( ${LATEST_RELEASE//./ } ) MAJOR=${SEMVER[0]} MINOR=${SEMVER[0]}.${SEMVER[1]}