projects
/
pharext
/
pharext
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (from parent 1:
2d4d0f6
)
fail on error
author
Michael Wallner
<mike@php.net>
Mon, 9 Mar 2015 20:14:40 +0000
(21:14 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 9 Mar 2015 20:14:40 +0000
(21:14 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index cc88f708d7f39c6fe91087971ffb2b1d709f994c..4ce9ceade8da289f7d76b0cb85c50e6cda0e34e4 100644
(file)
--- 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 ... "; \
@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"
git ci -am "back to dev"
-
.PHONY: all clean test release
.PHONY: all clean test release