Skip to content

Commit

Permalink
fix nightly filename
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorch committed Dec 29, 2024
1 parent 0e0958c commit dcd51da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,16 @@ android {
variant.resValue 'string', 'applicationId', variant.applicationId

variant.outputs.configureEach {
if (variant.flavorName == 'nightly') {
setVersionCodeOverride(getVersionCode())
setVersionNameOverride(getVersionName())
}

if (variant.flavorName == 'reproducible') {
outputFileName = "${applicationId}_${variant.versionName}.apk"
} else {
outputFileName = "${applicationId}_${variant.versionCode}.apk"
}

if (variant.flavorName == 'nightly') {
setVersionCodeOverride(getVersionCode())
setVersionNameOverride(getVersionName())
}
}
}

Expand Down

0 comments on commit dcd51da

Please sign in to comment.