Created
November 25, 2016 15:39
-
-
Save pitchart/aba6840c7515543ad02c8df5e0fa6f11 to your computer and use it in GitHub Desktop.
Auomatic commit on symfony version bump with shivas/versioning-bundle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version-patch: | |
$(eval version := $(shell php app/console app:version:bump --patch=1)) | |
$(SUDO) git add app/config/version.yml | |
$(SUDO) git commit -m "[RELEASE] version $(version)" | |
version-feature: | |
$(eval version := $(shell php app/console app:version:bump --minor=1)) | |
$(SUDO) git add app/config/version.yml | |
$(SUDO) git commit -m "[RELEASE] version $(version)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment