From: Michael Wallner Date: Mon, 9 Mar 2015 20:14:40 +0000 (+0100) Subject: fail on error X-Git-Tag: v2.0.0~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=eaae6368fe4ba8b06fc1f81cbbb58414f1d9a00d;p=pharext%2Fpharext fail on error --- diff --git a/Makefile b/Makefile index cc88f70..4ce9cea 100644 --- a/Makefile +++ b/Makefile @@ -22,12 +22,11 @@ release: @echo "Previous Version: $$(git tag --list | tail -n1)"; \ read -p "Release Version: v" VERSION; \ echo "Preparing release ... "; \ - sed -i '' -e "s/@PHAREXT_VERSION@/$$VERSION/" src/pharext/Version.php; \ - $(MAKE); \ - git ci -am "release v$$VERSION"; \ - git tag v$$VERSION; \ - sed -i '' -e "s/$$VERSION/@PHAREXT_VERSION@/" src/pharext/Version.php; \ + sed -i '' -e "s/@PHAREXT_VERSION@/$$VERSION/" src/pharext/Version.php && \ + $(MAKE) -B SIGN=1 && \ + git ci -am "release v$$VERSION" && \ + git tag v$$VERSION && \ + sed -i '' -e "s/$$VERSION/@PHAREXT_VERSION@/" src/pharext/Version.php && \ git ci -am "back to dev" - .PHONY: all clean test release