mirror of
https://github.com/Luzifer/vault-unseal.git
synced 2024-12-22 22:01:20 +00:00
Only build and publish for tags
This commit is contained in:
parent
30a6dbbda1
commit
369b8501ca
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,11 @@ ARCHS="linux/386 linux/amd64 linux/arm darwin/amd64 darwin/386"
|
||||||
|
|
||||||
set -e
|
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
|
if [ -z "${VERSION}" ]; then
|
||||||
echo "No tag present, stopping build now."
|
echo "No tag present, stopping build now."
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue