Created
November 19, 2009 05:45
-
-
Save balvig/238574 to your computer and use it in GitHub Desktop.
VersionMaster reference
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
cap deploy # Normal deploy - does not increment version number | |
cap deploy:bump # Updates patch number and uploads version.yml | |
cap deploy:bump VER=minor # Updates minor version number and uploads version.yml |
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
rake version:bump VER=patch # ==> Bumped version 1.0.0 --> 1.0.1 | |
rake version:bump VER=minor # ==> Bumped version 1.0.1 --> 1.1.0 | |
rake version:bump VER=major # ==> Bumped version 1.1.0 --> 2.0.0 | |
rake version:bump # ==> Bumped version 2.0.0 --> 2.0.1 | |
rake version:set VER=4.2.2 # ==> Changed version 2.0.1 --> 4.2.2 | |
rake version # ==> Current version is 4.2.2 |
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.yml | |
--- | |
major: 1 | |
minor: 0 | |
patch: 0 |
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
<p>My App v.<%=APP_VERSION%></p> ==> <p>My App v.4.2.2</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment