only push the tag we created
Graham Knop [Tue, 16 Jul 2013 20:15:13 +0000 (16:15 -0400)]
lib/Distar.pm

index 1083d40..f509188 100644 (file)
@@ -97,7 +97,7 @@ release: preflight
        git commit -a -m "Release commit for $(VERSION)"
        git tag v$(VERSION) -m "release v$(VERSION)"
        cpan-upload $(DISTVNAME).tar$(SUFFIX)
-       git push origin --tags HEAD
+       git push origin v$(VERSION) HEAD
 distdir: readmefile
 readmefile: create_distdir
        pod2text $(VERSION_FROM) >$(DISTVNAME)/README