From 2fd5360c28307fae2b325e2873661b58cb0f4407 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 16 Jun 2022 23:56:59 +0200 Subject: Adding git commands to release target in top-level Makefile. Signed-off-by: Daniel Baumann --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') 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) \; -- cgit v1.2.3