From: Kay Sievers Date: Fri, 3 Jun 2011 12:38:43 +0000 (+0200) Subject: make: use 'git tag' X-Git-Tag: 174~107 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cadb40abf964141fe8c956dd6808f4885321eb6;p=systemd make: use 'git tag' --- diff --git a/Makefile.am b/Makefile.am index 998a3859..af9f8435 100644 --- a/Makefile.am +++ b/Makefile.am @@ -695,9 +695,12 @@ git-release: head -1 ChangeLog | grep -q "to v$(VERSION)" head -1 NEWS | grep -q "udev $(VERSION)" git commit -a -m "release $(VERSION)" - cat .git/refs/heads/master > .git/refs/tags/$(VERSION) - git gc - git prune + git tag $(VERSION) + git gc --prune=0 + +git-sync: + git push + git push --tags $(VERSION) tar-sync: scp udev-$(VERSION).gz master.kernel.org:/pub/linux/utils/kernel/hotplug/