Skip to content

Commit

Permalink
Fix Rubocop offences after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Oct 31, 2023
1 parent c4ee4af commit 3592b7d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,8 @@ platform :android do
create_gh_release(version: version, prerelease: is_beta, release_assets: release_assets.compact) if options[:create_gh_release]
end

lane :finalize_release do | options |
if android_current_branch_is_hotfix(version_properties_path: VERSION_PROPERTIES_PATH)
UI.user_error!('Please use `finalize_hotfix_release` lane for hotfixes')
end
lane :finalize_release do |options|
UI.user_error!('Please use `finalize_hotfix_release` lane for hotfixes') if android_current_branch_is_hotfix(version_properties_path: VERSION_PROPERTIES_PATH)
ensure_git_branch(branch: '^release/') # Match branch names that begin with `release/`
ensure_git_status_clean

Expand Down

0 comments on commit 3592b7d

Please sign in to comment.