-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
supply: Add support for apk superseded #9250
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I signed it! |
CLAs look good, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was looking for this solution myself. I've checked @capyvara PR and it seems good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
worked for us as well, thank you very much 💚
Thanks!! I think I just ran into this when I had an alpha version that was "superseded by production", and I tried directly pushing to the production track. |
I did some cleanup refactoring and added a --check_superseded_tracks command line option, so users need to opt-in using the feature (principle of least surprise). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems great, but I will need a little time before I can fully review it. Thanks for your patience! |
Thanks for this improvement! 🚀 |
Hey @capyvara 👋 Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉 Please let us know if this change requires an immediate release by adding a comment here 👍 |
Congratulations! 🎉 This was released as part of fastlane 2.38.0 🚀 |
Congratulations! 🎉 This was released as part of fastlane 2.38.0 🚀 |
* Bumped google-api-client to 0.11.xx * Get track version codes return empty array instead of error when trackEmpty * Check superseded tracks * Better print removed versions * Command line option check_superseded_tracks
…astlane#9444) This reverts commit 73c75d2.
Checklist
bundle exec rspec
from the root directory to see all new and existing tests passbundle exec rubocop -a
to ensure the code style is validMotivation and Context
Trying to fix #6791
Description
Before uploading a new apk, some update_track's are issued to clean outdated apk versions, following the rules:
I never touched any ruby code before, so if any rubyist can review this it will be great.