Skip to content

Commit

Permalink
Bump version to v3.1.1 (17)
Browse files Browse the repository at this point in the history
- Add automatic output file renaming
  • Loading branch information
Tobias Länge committed Aug 23, 2022
1 parent 953cdee commit a108f92
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "org.secuso.privacyfriendlyweather"
minSdkVersion 17
targetSdkVersion 32
versionCode 16
versionName "3.1.0"
versionCode 17
versionName "3.1.1"

if (keysFile.exists()) {
def keys = new Properties()
Expand Down Expand Up @@ -56,6 +56,12 @@ android {
}
}

applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "pfa-weather-${variant.name}-v${variant.versionName}.apk"
}
}

buildTypes {
release {
minifyEnabled false
Expand Down

0 comments on commit a108f92

Please sign in to comment.