1
0
Fork 0
mirror of https://github.com/Luzifer/vault-unseal.git synced 2024-10-18 08:04:20 +00:00

Only build and publish for tags

This commit is contained in:
Knut Ahlers 2016-10-12 09:53:41 +02:00
parent 30a6dbbda1
commit 369b8501ca
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