Skip to content

Commit

Permalink
release: set release name explicitly
Browse files Browse the repository at this point in the history
auto-naming doesn't work if you have APKs in a release with different
versions, as we do with our new retain settings for older minSdk support
  • Loading branch information
mikehardy authored and david-allison committed Jan 11, 2025
1 parent 9058f48 commit 74ad5a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions AnkiDroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,11 @@ play {
421904300L, // (2.19.4, minSdk 23, ABI x86_64)
])
}

// If you retain APKs in a release with different names as we do above,
// the plugin + Play Store has no idea how to name the release except by date.
// release name is developer only, but sane names really help, so set one
releaseName.set(android.defaultConfig.versionName)
}

// Install Git pre-commit hook for Ktlint
Expand Down

0 comments on commit 74ad5a6

Please sign in to comment.