Revert "gradle: Suffix last git commit's hash into versionName"
This reverts commit 376bdb3fbc.
This commit is contained in:
@@ -37,10 +37,6 @@ kotlin {
|
|||||||
jvmToolchain(17)
|
jvmToolchain(17)
|
||||||
}
|
}
|
||||||
|
|
||||||
val gitHash: String
|
|
||||||
get() = project.providers.exec { commandLine("git", "rev-parse", "--short", "HEAD") }
|
|
||||||
.standardOutput.asText.get().trim()
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.aurora.store"
|
namespace = "com.aurora.store"
|
||||||
compileSdk = 35
|
compileSdk = 35
|
||||||
@@ -96,13 +92,11 @@ android {
|
|||||||
register("nightly") {
|
register("nightly") {
|
||||||
initWith(getByName("release"))
|
initWith(getByName("release"))
|
||||||
applicationIdSuffix = ".nightly"
|
applicationIdSuffix = ".nightly"
|
||||||
versionNameSuffix = "-$gitHash"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
debug {
|
debug {
|
||||||
applicationIdSuffix = ".debug"
|
applicationIdSuffix = ".debug"
|
||||||
signingConfig = signingConfigs.getByName("aosp")
|
signingConfig = signingConfigs.getByName("aosp")
|
||||||
versionNameSuffix = "-$gitHash"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user