Created
January 21, 2010 10:11
-
-
Save anonymous/282704 to your computer and use it in GitHub Desktop.
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
def gaeversion = new String(project.version).replace('.','-') | |
if (gaeversion.endsWith("SNAPSHOT")) { | |
gaeversion = gaeversion.substring(0, gaeversion.length() - 9) | |
} | |
project.properties['gaeversion'] = gaeversion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment