updated ci-build.sh
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2021-11-13 13:19:59 +01:00
parent 2c67745536
commit 762e801fd5

View File

@ -16,7 +16,8 @@ build() {
echo "Drone tag set, let's do a release" echo "Drone tag set, let's do a release"
VERSION=${DRONE_TAG} VERSION=${DRONE_TAG}
echo "${PROJECTNAME} ${VERSION}" > /build/VERSION echo "${PROJECTNAME} ${VERSION}" > /build/VERSION
else elif [[ ! -z ${DRONE_COMMIT} ]]
then
echo "Drone not set, let's only do a build" echo "Drone not set, let's only do a build"
VERSION=${DRONE_COMMIT} VERSION=${DRONE_COMMIT}
fi fi