From: Graham Knop Date: Mon, 18 Apr 2016 12:03:34 +0000 (-0400) Subject: better ordering for release process X-Git-Tag: v0.003000~33 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=49beea486e9193926598f11532d10fd8b2a16e71;p=p5sagit%2FDistar.git better ordering for release process --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 8bf1f61..1d41abb 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -154,11 +154,12 @@ check-cpan-upload: $(NOECHO) cpan-upload -h $(DEV_NULL_STDOUT) releasetest: $(MAKE) disttest RELEASE_TESTING=1 PASTHRU="$(PASTHRU) TEST_FILES=\"$(TEST_FILES)\"" -release: preflight releasetest - $(RM_RF) $(DISTVNAME) - $(MAKE) $(DISTVNAME).tar$(SUFFIX) +release: preflight + $(MAKE) releasetest git commit -a -m "Release commit for $(VERSION)" git tag v$(VERSION) -m "release v$(VERSION)" + $(RM_RF) $(DISTVNAME) + $(MAKE) $(DISTVNAME).tar$(SUFFIX) $(NOECHO) $(MAKE) pushrelease FAKE_RELEASE=$(FAKE_RELEASE) pushrelease :: $(NOECHO) $(NOOP)