This commit is contained in:
parent
2c67745536
commit
762e801fd5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user