push branch and tag at the same time
Graham Knop [Thu, 30 May 2013 19:23:10 +0000 (15:23 -0400)]
lib/Distar.pm

index 34e1e31..5ffd7b5 100644 (file)
@@ -95,8 +95,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 --tags origin
-       git push origin HEAD
+       git push origin --tags HEAD
 distdir: readmefile
 readmefile: create_distdir
        pod2text $(VERSION_FROM) >$(DISTVNAME)/README