diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..3cfc393f --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +help: + @echo "Please use \`make ' where is one of" + @echo " tag to modify the version and tag" + +tag: + $(if $(TAG),,$(error TAG is not defined. Pass via "make tag TAG=6.2.0")) + @echo Tagging $(TAG) + sed -i '' -e "s/APP_VERSION = '.*'/APP_VERSION = '$(TAG)'/" src/Phpro/SoapClient/Console/Application.php + php -l src/Phpro/SoapClient/Console/Application.php + git add -A + git commit -m '$(TAG) release' -n + git tag -s '$(TAG)' -m 'Version $(TAG)' diff --git a/src/Phpro/SoapClient/Console/Application.php b/src/Phpro/SoapClient/Console/Application.php index 37750771..43e4535d 100644 --- a/src/Phpro/SoapClient/Console/Application.php +++ b/src/Phpro/SoapClient/Console/Application.php @@ -20,7 +20,7 @@ class Application extends SymfonyApplication { const APP_NAME = 'SoapClient'; - const APP_VERSION = '5.0.0'; + const APP_VERSION = '6.1.0'; /** * Set up application: