mirror of
https://github.com/Luzifer/elb-instance-status.git
synced 2024-11-09 14:30:07 +00:00
Only build and publish for tags
This commit is contained in:
parent
3089734a90
commit
4f82c63205
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