From: Graham Knop Date: Thu, 30 May 2013 19:23:10 +0000 (-0400) Subject: push branch and tag at the same time X-Git-Tag: v0.001000~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=452dfa09a0bbc41ab7103894868f0bec4b0bb921;p=p5sagit%2FDistar.git push branch and tag at the same time --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 34e1e31..5ffd7b5 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -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