Add version check
Todas las comprobaciones han sido exitosas
continuous-integration/drone Build is passing

Este commit está contenido en:
Florian Brinker 2021-04-21 23:47:57 +02:00
padre 9cd25b3a49
commit ca32883cac
Se han modificado 2 ficheros con 10 adiciones y 10 borrados

Ver fichero

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

Ver fichero

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