aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-04-29 01:55:27 +0200
committerTeddy Wing2023-04-29 01:56:13 +0200
commit54b0144ecbf9caacac73b4b009cc72d2554e09cd (patch)
tree6cd7b27b9b9576bc18244fcd2353c7d8aba456b7
parent3cb7ed33ef37e745b91a7dfc73143f6092d8bcf6 (diff)
downloadpdf-form-replace-font2-54b0144ecbf9caacac73b4b009cc72d2554e09cd.tar.bz2
Makefile: Remove snapshot for tag editing in `release` target
Need to remove the "-SNAPSHOT" string from the tagged version.
-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