mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-10 12:06:05 +01:00
[skip] add support for versions with no minor tag
This commit is contained in:
parent
d76d7d8f11
commit
7f3e18e291
@ -39,8 +39,12 @@ if (!('release' in gradle.startParameter.taskNames)) {
|
||||
}
|
||||
} else {
|
||||
project.ext.set("hash", "")
|
||||
if (apktoolversion_minor.length() > 0) {
|
||||
project.ext.set("apktool_version", apktoolversion_major + "-" + apktoolversion_minor);
|
||||
println "Building RELEASE (" + getCheckedOutBranch() + "): " + apktoolversion_major + "-" + apktoolversion_minor;
|
||||
} else {
|
||||
project.ext.set("apktool_version", apktoolversion_major);
|
||||
}
|
||||
println "Building RELEASE (" + getCheckedOutBranch() + "): " + project.ext.apktool_version;
|
||||
}
|
||||
|
||||
build.doFirst {
|
||||
|
Loading…
Reference in New Issue
Block a user