INNER CODE UNIT · Ruby

promote_version_code_to_production

wordpress-mobile/WordPress-Android · fastlane/lanes/promote.rb:554

  def promote_version_code_to_production(package_name:, version_code:)
    upload_to_play_store(
      package_name: package_name,
      json_key: UPLOAD_TO_PLAY_STORE_JSON_KEY,
      track: BETA_TRACK,
      track_promote_to: PRODUCTION_TRACK,
      version_code: Integer(version_code),
      # Promote as a live staged rollout: a `rollout` in (0, 1) makes supply set the promoted
      # release to `inProgress` at that user fraction. This is the ladder's first rung;
      # `advance_production_rollout` walks the rest.
      rollout: PRODUCTION_ROLLOUT_INITIAL_FRACTION,
      # Promotion touches only the track release, never a binary — skip every upload path.
      skip_upload_apk: true,
      skip_upload_aab: true,
      skip_upload_metadata: true,
      skip_upload_changelogs: true,
      skip_upload_images: true,
      skip_upload_screenshots: true

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…