Sitelet https://github.com/googleapis/google-api-ruby-client/issues/13029
Skip to content

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

Description

@yabenatti

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions