From: Graham Knop Date: Thu, 30 May 2013 19:22:37 +0000 (-0400) Subject: upload after creating tag to prevent duplicating versions X-Git-Tag: v0.001000~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=65a1f7d91be734caa9ad72723c30845fbd39c37f;p=p5sagit%2FDistar.git upload after creating tag to prevent duplicating versions --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 3fddf69..34e1e31 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -92,9 +92,9 @@ release: preflight $(MAKE) disttest rm -rf $(DISTVNAME) $(MAKE) $(DISTVNAME).tar$(SUFFIX) - cpan-upload $(DISTVNAME).tar$(SUFFIX) 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 distdir: readmefile