clean:
rm bin/pharext*
-.PHONY: all clean test
-.SUFFIXES: .php
\ No newline at end of file
+release:
+ echo
+ echo "Previous: $$(git tag --list | tail -n1)"; \
+ read -p "Version: v" VERSION; \
+ sed -i '' -e "s/@PHAREXT_VERSION@/v$$VERSION/" src/pharext/Version.php; \
+ $(MAKE); \
+ git ci -am "release v$$VERSION"; \
+ git tag v$$VERSION; \
+ sed -i '' -e "s/v$$VERSION/@PHAREXT_VERSION@/" src/pharext/Version.php; \
+ git ci -am "back to dev"
+
+
+.PHONY: all clean test release