Skip to content
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

Updating a release status to completed is setting the status to halted #13029

Open
yabenatti opened this issue Dec 7, 2022 · 0 comments
Open

Comments

@yabenatti
Copy link

Environment details

  • OS: it's a rails application
  • Ruby version: "3.1.2"
  • Gem name and version: "google-apis-androidpublisher_v3", "~> 0.31.0"

Steps to reproduce

  1. Release opened with 10% staged rollout in progress
  2. Send a request via google api to update the release status to "completed"
  3. The API returns a correct release, however the status is updated to "halted"

Code example

service = publisher.service 
edit = service.insert_edit(package_name)
track = service.get_edit_track(package_name, edit.id, "production")
release = track.releases&.detect { |r| r.name == "1.0.0" }
release.update!(status: "completed")
service.update_edit_track(package_name, edit.id, "production", track)
service.commit_edit(package_name, edit.id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant