diff options
author | Teddy Wing | 2023-04-29 01:55:27 +0200 |
---|---|---|
committer | Teddy Wing | 2023-04-29 01:56:13 +0200 |
commit | 54b0144ecbf9caacac73b4b009cc72d2554e09cd (patch) | |
tree | 6cd7b27b9b9576bc18244fcd2353c7d8aba456b7 | |
parent | 3cb7ed33ef37e745b91a7dfc73143f6092d8bcf6 (diff) | |
download | pdf-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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |