summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-16 21:56:59 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-16 21:56:59 +0000
commit2fd5360c28307fae2b325e2873661b58cb0f4407 (patch)
tree54612cd6610a41d0b65abfd846a1a0aae39f6455
parentCorrecting breaking extra-quotes in dnsdist-console. (diff)
downloadservice-tools-2fd5360c28307fae2b325e2873661b58cb0f4407.tar.xz
service-tools-2fd5360c28307fae2b325e2873661b58cb0f4407.zip
Adding git commands to release target in top-level Makefile.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3c55809..a9a2be1 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,9 @@ distclean:
reinstall: uninstall install
release: distclean
+ git commit -a -s -S -m 'Releasing version $(VERSION).' || true
+ git tag -s -m 'Tagging version $(VERSION).' v$(VERSION) || true
+
mkdir service-tools-$(VERSION)
find . -mindepth 1 -maxdepth 1 -and -not -name ".git*" -and -not -name debian -and -not -name service-tools-$(VERSION) -exec cp \-a {} service-tools-$(VERSION) \;