Skip to content

Commit

Permalink
Cancel submission only when present when preparing release
Browse files Browse the repository at this point in the history
  • Loading branch information
nid90 committed Jan 23, 2024
1 parent 49db8de commit f30f4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app_store/connect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def ensure_editable_version(is_force)

submission = app.get_in_progress_review_submission(platform: IOS_PLATFORM)
log "Deleting rejected app store version submission", submission.to_json
submission.cancel_submission
submission&.cancel_submission
return

when api::AppStoreVersion::AppStoreState::PENDING_DEVELOPER_RELEASE,
Expand Down

0 comments on commit f30f4c6

Please # to comment.