Skip to content

Commit

Permalink
Remove custom versioning and just have normal versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Martinvlba authored Dec 5, 2023
1 parent eba201f commit 43aa55b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,21 @@ if (!('release' in gradle.startParameter.taskNames)) {

if (hash == null) {
project.ext.set("hash", "dirty")
project.ext.set("apktool_version", version + "- modded by hilledkinged")
project.ext.set("apktool_version", version)
println "Building SNAPSHOT (no .git folder found)"
} else {
project.ext.set("hash", hash)
project.ext.set("apktool_version", version + "- modded by hilledkinged")
mavenVersion = version + "- modded by hilledkinged"
project.ext.set("apktool_version", version)
mavenVersion = version
}
} else {
project.ext.set("hash", "")
if (suffix.length() > 0) {
project.ext.set("apktool_version", version + "- modded by hilledkinged")
project.ext.set("apktool_version", version)
} else {
project.ext.set("apktool_version", version + "- modded by hilledkinged")
project.ext.set("apktool_version", version)
}
mavenVersion = version + "- modded by hilledkinged"
mavenVersion = version
println "Building RELEASE (${getCheckedOutBranch()}): $project.ext.apktool_version"
}

Expand Down

0 comments on commit 43aa55b

Please sign in to comment.