1
1

Add version check

This commit is contained in:
Florian Brinker 2021-04-21 23:48:42 +02:00
vanhempi ca32883cac
commit e7317fa30f

Näytä tiedosto

@ -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]}