Fixed
Status Update
Comments
vi...@google.com <vi...@google.com>
zs...@salesforce.com <zs...@salesforce.com> #2
Information redacted by Android Beta Feedback.
xa...@google.com <xa...@google.com> #3
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
xa...@google.com <xa...@google.com> #4
The issue has been fixed and watch out for future releases.
Description
If I have a custom task computing a version name for the new
onVariants
API,versionNameSuffix
effectively becomes a no-op.I have a repro case in this project + branch:https://github.com/ZacSweers/CatchUp/tree/z/suffix
Runhttps://github.com/ZacSweers/CatchUp/blob/z/suffix/buildSrc/src/main/kotlin/dev/zacsweers/catchup/gradle/CatchUpPlugin.kt#L208
./gradlew :app:assembleRelease
and observe the final manifest does not have the-release
suffix that that branch adds a commit for. The project uses the new onVariants API for setting this here:The repro project uses versionNameSuffix on buildtype, but we've internally at slack observed this same bug when used on product flavors too.