This commit is contained in:
HapeLee
2025-09-30 17:42:58 +08:00
parent 3ac268b381
commit 2190310ffb
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -23,13 +23,14 @@ ext {
versionMajor = versionProps['VERSION_MAJOR'].toInteger()
versionMinor = versionProps['VERSION_MINOR'].toInteger()
versionPatch = versionProps['VERSION_PATCH'].toInteger()
versionSuffix = versionProps['VERSION_SUFFIX'] ?: ""
}
def name = "legado"
def gitCommits = Integer.parseInt('git rev-list HEAD --count'.execute().text.trim())
ext.versionBuild = gitCommits
ext.versionName = "${ext.versionMajor}.${ext.versionMinor}.${ext.versionPatch}"
ext.versionName = "${ext.versionMajor}.${ext.versionMinor}.${ext.versionPatch}${ext.versionSuffix}"
def getGitCommitHash() {
try {
+2 -1
View File
@@ -1,3 +1,4 @@
VERSION_MAJOR=3
VERSION_MINOR=25
VERSION_PATCH=10
VERSION_PATCH=10
VERSION_SUFFIX=-beta.1