]> err.no Git - systemd/commitdiff
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 998a385944f7ce33e17307b1d00d7bbbbd53d7e7..af9f8435f6413a2a2577a51e446d984b8422590d 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/