Skip to content

Commit adaae7b

Browse files
Copilotmokagio
andauthored
Release Cleanup: Prevent release lane from running locally (#517)
* Initial plan * chore: add CI-only guard to release lane Agent-Logs-Url: https://github.com/wordpress-mobile/GutenbergKit/sessions/57e55179-ee2b-493e-a228-9b809f3df5a1 Co-authored-by: mokagio <1218433+mokagio@users.noreply.github.com> * Apply suggestion from @mokagio --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mokagio <1218433+mokagio@users.noreply.github.com> Co-authored-by: Gio Lodi <gio@mokacoding.com>
1 parent 229de4e commit adaae7b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fastlane/Fastfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ end
7777
# Release. For local diagnosis, invoke `validate`, `update_swift_package`,
7878
# `publish_to_s3`, or `publish_release_to_github` individually.
7979
lane :release do |options|
80+
UI.user_error!('This lane must only run in CI.') unless ENV['CI']
81+
8082
version = required_version!(options)
8183
token = github_token!(options)
8284

0 commit comments

Comments
 (0)