From 6cadb40abf964141fe8c956dd6808f4885321eb6 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 3 Jun 2011 14:38:43 +0200 Subject: [PATCH] make: use 'git tag' --- Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 998a38594..af9f8435f 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/ -- 2.30.2