1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-09-11 08:15:35 +03:00

Don't auto-increment build version

This commit is contained in:
Anuken 2019-09-21 11:03:09 -04:00
parent fed3bcd79d
commit 4fa173f0f5
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@ logs/
/core/assets/bundles/output/
/core/assets/.gifimages/
/deploy/
/out/
/desktop/packr-out/
/desktop/packr-export/
/desktop/mindustry-saves/

View File

@ -80,7 +80,9 @@ android{
versionName versionNameResult
versionCode vcode
props['androidBuildCode'] = (vcode + 1).toString()
if(project.hasProperty("release")){
props['androidBuildCode'] = (vcode + 1).toString()
}
props.store(file('../core/assets/version.properties').newWriter(), null)
}