Skip to content

Commit

Permalink
Gradle and git are strange #release
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxanier committed Oct 4, 2015
1 parent 8b358c1 commit 06f180c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gradle/versioning.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ catch (Exception e){
}
def versions = tag.tokenize('.')
minor= (versions[2]).toInteger()+1
minor = 7 //Gradle and git are strange -> Temp fix to get the right number
project.mod_version = "${config.main_version}.${config.major_version}.${minor}"
if(!System.getenv().RELEASE&&System.getenv().CI){
project.mod_version=project.mod_version+".Alpha"+System.getenv().DRONE_BUILD_NUMBER
Expand Down

1 comment on commit 06f180c

@maxanier
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.