aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7256fba..4b37f5c 100644
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,9 @@ pdf-form-replace-font2: pdf-form-replace-font2.in
.PHONY: release
release:
mvn release:prepare $(MVNFLAGS)
- git tag --annotate v$(VERSION) --force "$$(git rev-parse v$(VERSION)^{})"
+ git tag --annotate v$(VERSION:-SNAPSHOT=) \
+ --force \
+ "$$(git rev-parse v$(VERSION:-SNAPSHOT=)^{})"
.PHONY: install