1
0
Fork 0
mirror of https://github.com/Luzifer/elb-instance-status.git synced 2024-12-23 03:11:20 +00:00

Only build and publish for tags

This commit is contained in:
Knut Ahlers 2016-10-12 09:53:32 +02:00
parent 3089734a90
commit 4f82c63205
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -6,6 +6,11 @@ ARCHS="linux/386 linux/amd64 linux/arm darwin/amd64 darwin/386"
set -e
if [ -z "${TRAVIS_TAG}" ]; then
echo "Not executing for non tag, but this is no failure."
exit 0
fi
if [ -z "${VERSION}" ]; then
echo "No tag present, stopping build now."
exit 0