use current tag when exporting an archive (fix #481)

This commit is contained in:
Yves Rutschle 2024-12-09 22:37:06 +01:00
parent 5f55f7d76a
commit 16ef412663

View File

@ -129,7 +129,7 @@ $(MAN): sslh.pod Makefile
# Create release: export clean tree and tag current
# configuration
release:
git archive master --prefix="sslh-$(VERSION)/" | gzip > /tmp/sslh-$(VERSION).tar.gz
git archive $(VERSION) --prefix="sslh-$(VERSION)/" | gzip > /tmp/sslh-$(VERSION).tar.gz
gpg --detach-sign --armor /tmp/sslh-$(VERSION).tar.gz
# Build docker image