You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix nightly builds to ensure they get the version number correctly (#6640)
Task/Issue URL:
https://app.asana.com/1/137249556945/project/488551667048375/task/1211121590401637?focus=true
### Description
our ` getBuildVersionName` gradle task is trying to call
`buildVersionName()` which is defined in the `ext` block, but
configuration cache doesn't allow tasks to access project extensions
during execution phase.
This PR changes the nightly job which uses that task to pass
`--no-configuration-cache` to bypass it.
### Steps to test this PR
- QA optional
- [Optional] you can check that while the existing
- `./gradlew getBuildVersionName -PversionNameSuffix=-nightly
-PlatestTag=5.245.0.1-nightly` fails,
- `./gradlew --no-configuration-cache getBuildVersionName
-PversionNameSuffix=-nightly -PlatestTag=5.245.0.1-nightly` succeeds
Co-authored-by: Craig Russell <[email protected]>
0 commit comments