Describe the bug
When trying to build a release locally recently, I ran into a situation where my AAB ended up being assembled with negative version codes (per #6265).
Steps To Reproduce
- Check out a shallow copy of Oppia Android.
- Try to build a release.
- Use
bundletool to observe the version codes.
- Observe negative version codes.
Expected Behavior
Version codes should never be negative. In this case it's unavoidable since a shallow copy of the repository will have the wrong commit count on develop, however we should just have TransformAndroidManifest outright fail in these cases.
Screenshots/Videos
No response
What device/emulator are you using?
No response
Which Android version is your device/emulator running?
No response
Which version of the Oppia Android app are you using?
No response
Additional Context
No response
Describe the bug
When trying to build a release locally recently, I ran into a situation where my AAB ended up being assembled with negative version codes (per #6265).
Steps To Reproduce
bundletoolto observe the version codes.Expected Behavior
Version codes should never be negative. In this case it's unavoidable since a shallow copy of the repository will have the wrong commit count on
develop, however we should just haveTransformAndroidManifestoutright fail in these cases.Screenshots/Videos
No response
What device/emulator are you using?
No response
Which Android version is your device/emulator running?
No response
Which version of the Oppia Android app are you using?
No response
Additional Context
No response