1
1
Garpu 1

Add version check
continuous-integration/drone Build is passing Details

This commit is contained in:
Florian Brinker 2021-04-21 23:47:57 +02:00
orang tua 9cd25b3a49
melakukan ca32883cac
2 mengubah file dengan 10 tambahan dan 10 penghapusan

Melihat File

@ -11,15 +11,15 @@ steps:
- chmod +x ./build.sh
- ./build.sh
#- name: docker
# image: plugins/docker
# settings:
# repo: fbrinker/tileboard
# username:
# from_secret: docker_username
# password:
# from_secret: docker_password
- name: docker
image: plugins/docker
settings:
repo: fbrinker/tileboard
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
branch:
- master

Melihat File

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