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:
parent
fed3bcd79d
commit
4fa173f0f5
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@ logs/
|
||||
/core/assets/bundles/output/
|
||||
/core/assets/.gifimages/
|
||||
/deploy/
|
||||
/out/
|
||||
/desktop/packr-out/
|
||||
/desktop/packr-export/
|
||||
/desktop/mindustry-saves/
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user