chiark / gitweb /
make: use 'git tag'
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 3 Jun 2011 12:38:43 +0000 (14:38 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 3 Jun 2011 12:38:43 +0000 (14:38 +0200)
Makefile.am

index 998a385..af9f843 100644 (file)
@@ -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/