Skip to content

Commit

Permalink
[supply] Fix issue with releases containing retained versions (#20997) (
Browse files Browse the repository at this point in the history
#20998)

Fix issue with releases containing retained versions failing to complete the staged rollout in the Google Play Store.
  • Loading branch information
mmiani committed Oct 28, 2023
1 parent cec29b3 commit fbad7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supply/lib/supply/uploader.rb
Expand Up @@ -128,7 +128,7 @@ def update_rollout
UI.user_error!("Unable to find the requested track - '#{Supply.config[:track]}'") unless track
UI.user_error!("Unable to find the requested release on track - '#{Supply.config[:track]}'") unless release

version_code = release.version_codes.first
version_code = release.version_codes.max

UI.message("Updating #{version_code}'s rollout to '#{Supply.config[:rollout]}' on track '#{Supply.config[:track]}'...")

Expand Down

0 comments on commit fbad7d8

Please sign in to comment.