mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 05:48:00 +01:00
Remove duplicate mc version in the version
This commit is contained in:
parent
be1585f3f5
commit
76510f7a52
1 changed files with 5 additions and 5 deletions
10
build.gradle
10
build.gradle
|
@ -14,13 +14,13 @@ def createVersion() {
|
||||||
parts.push project.release
|
parts.push project.release
|
||||||
}
|
}
|
||||||
|
|
||||||
if (System.env.TRAVIS_BRANCH != null && System.env.TRAVIS_BRANCH != 'master') {
|
def branch = System.env.TRAVIS_BRANCH
|
||||||
parts.push System.env.TRAVIS_BRANCH
|
|
||||||
|
if (branch != null && branch != 'master' && !project.minecraft_version.startsWith(branch)) {
|
||||||
|
parts.push branch
|
||||||
}
|
}
|
||||||
|
|
||||||
if (System.env.TRAVIS_BRANCH != project.minecraft_version) {
|
parts.push project.minecraft_version
|
||||||
parts.push project.minecraft_version
|
|
||||||
}
|
|
||||||
|
|
||||||
def ver = project.version
|
def ver = project.version
|
||||||
if (parts.size > 0) {
|
if (parts.size > 0) {
|
||||||
|
|
Loading…
Reference in a new issue