diff --git a/ci-build.sh b/ci-build.sh index 01cd1cb..1977c2b 100755 --- a/ci-build.sh +++ b/ci-build.sh @@ -16,7 +16,8 @@ build() { echo "Drone tag set, let's do a release" VERSION=${DRONE_TAG} echo "${PROJECTNAME} ${VERSION}" > /build/VERSION - else + elif [[ ! -z ${DRONE_COMMIT} ]] + then echo "Drone not set, let's only do a build" VERSION=${DRONE_COMMIT} fi