aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-06-03 15:40:12 +0000
committerHarald Welte <laforge@gnumonks.org>2018-06-03 15:54:34 +0000
commit9b94c793be236fcc74a72ee653a7a75aabe9f3d1 (patch)
tree6d532257c8aa33a383fcea319a3e79ce1ebc1c04 /make
parenta2e28ef91f16faa1f42f554a8c7dba9e88644311 (diff)
Makefile: Only push a tag if there is a .release file
Diffstat (limited to 'make')
-rw-r--r--make/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/Makefile b/make/Makefile
index d04b1c2..1139fbe 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -66,8 +66,8 @@ release: check-status check-release build push
push: do-push post-push
do-push:
- docker push $(IMAGE):$(VERSION)
docker push $(IMAGE):latest
+ [ -f .release ] && docker push $(IMAGE):$(VERSION)
snapshot: build push