Last active
July 17, 2017 17:57
-
-
Save hector6872/925ca3ef26e6cdca5290a951f36e0d28 to your computer and use it in GitHub Desktop.
Semantic versioning
This file contains hidden or 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
def appVersionMajor = 1 | |
def appVersionMinor = 0 | |
def appVersionPatch = 0 | |
def appVersionBuild = 0 | |
appVersionCode = appVersionMajor * 1000000 + appVersionMinor * 10000 + appVersionPatch * 100 + appVersionBuild | |
appVersionName = "${appVersionMajor}.${appVersionMinor}.${appVersionPatch}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment