chore: Update versionName and versionCode

This commit is contained in:
SuperDragonXD
2025-12-25 17:58:14 +08:00
parent dc29217db3
commit e508b9ff6d

View File

@@ -145,7 +145,7 @@ final def ciRunNumber = System.getenv("GITHUB_RUN_NUMBER") ?: ""
final def isReleaseBuild = ciBuild && ciRef.contains("beta") final def isReleaseBuild = ciBuild && ciRef.contains("beta")
final def devReleaseName = ciBuild ? "Dev.(#${ciRunNumber})" : "Dev.(${buildCommit})" final def devReleaseName = ciBuild ? "Dev.(#${ciRunNumber})" : "Dev.(${buildCommit})"
final def version = "15" final def version = "15"
final def releaseName = "Beta 1" final def releaseName = "Beta 2"
final def versionDisplayName = "${version}.${isReleaseBuild ? releaseName : devReleaseName}" final def versionDisplayName = "${version}.${isReleaseBuild ? releaseName : devReleaseName}"
final def majorVersion = versionDisplayName.split("\\.")[0] final def majorVersion = versionDisplayName.split("\\.")[0]
@@ -155,9 +155,9 @@ final def quickstepMaxSdk = "35"
android { android {
namespace "com.android.launcher3" namespace "com.android.launcher3"
defaultConfig { defaultConfig {
// Lawnchair Launcher 15.0 Beta 1 // Lawnchair Launcher 15.0 Beta 2
// See CONTRIBUTING.md#versioning-scheme // See CONTRIBUTING.md#versioning-scheme
versionCode 15_00_02_01 versionCode 15_00_02_02
versionName "${versionDisplayName}" versionName "${versionDisplayName}"
buildConfigField "String", "VERSION_DISPLAY_NAME", "\"${versionDisplayName}\"" buildConfigField "String", "VERSION_DISPLAY_NAME", "\"${versionDisplayName}\""
buildConfigField "String", "MAJOR_VERSION", "\"${majorVersion}\"" buildConfigField "String", "MAJOR_VERSION", "\"${majorVersion}\""