From: Arthur Axel 'fREW' Schmidt Date: Mon, 25 Jul 2011 00:51:56 +0000 (-0500) Subject: push tags before branches X-Git-Tag: v0.001000~28 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1fcacfb8f962cddf290d01162fa84fd704e093a4;p=p5sagit%2FDistar.git push tags before branches This way we fail if the tag has already been created, thus avoiding embarassing situations where a release has already been made. --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 8b8c4db..51fd402 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -81,8 +81,8 @@ upload: preflight $(DISTVNAME).tar$(SUFFIX) release: upload git commit -a -m "Release commit for $(VERSION)" git tag release_$(VERSION) -m "release $(VERSION)" - git push git push --tags + git push distdir: readmefile readmefile: create_distdir pod2text $(VERSION_FROM) >$(DISTVNAME)/README