From 762e801fd5e6967826460c92a78f642d58bfdd4c Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 13 Nov 2021 13:19:59 +0100 Subject: [PATCH] updated ci-build.sh --- ci-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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