Compare commits

..

3 Commits

Author SHA1 Message Date
Dennis Guse 2f07208d9d Release: v4.17.3 2024-12-25 23:31:22 +01:00
Dennis Guse ded98eddb5 Reproducible build: use a proper file name for the apk (again).
Part of #418.
2024-12-25 23:30:06 +01:00
Dennis Guse 45732735d4 Reproducible build: use a proper file name for the apk.
Part of #418.
2024-12-25 19:56:54 +01:00
2 changed files with 16 additions and 7 deletions
+7 -7
View File
@@ -64,8 +64,8 @@ android {
defaultConfig {
applicationId 'de.dennisguse.opentracks'
versionCode 5980
versionName "v4.17.2"
versionCode 5983
versionName "v4.17.3"
buildConfigField "String", "VERSION_NAME_FULL", "\"${getVersionName()}\""
@@ -104,7 +104,7 @@ android {
productFlavors {
nightly {
dimension 'version'
applicationIdSuffix '.nightly'
applicationId 'de.dennisguse.opentracks.nightly'
signingConfig signingConfigs.nightly
}
irreproducible {
@@ -126,13 +126,13 @@ android {
variant.resValue 'string', 'applicationId', variant.applicationId
variant.outputs.configureEach {
if (variant.buildType.name == 'reproducible') {
outputFileName = '${applicationId}_${variant.buildType.name}_${variant.versionName}.apk'
if (variant.flavorName == 'reproducible') {
outputFileName = "${applicationId}_${variant.versionName}.apk"
} else {
outputFileName = '${applicationId}_${variant.buildType.name}_${variant.versionCode}.apk'
outputFileName = "${applicationId}_${variant.versionCode}.apk"
}
if (variant.buildType.name == 'nightly') {
if (variant.flavorName== 'nightly') {
setVersionCodeOverride(getVersionCode())
setVersionNameOverride(getVersionName())
}
@@ -0,0 +1,9 @@
v4.17.3: OpenTracks
Changes:
- Reproducible build: let's see if it works.
Developer:
- Just trying to get the APK filename, right...