Skip to content

Commit b8dd098

Browse files
committed
Fix Homebrew version bump when releasing package
1 parent 03872b1 commit b8dd098

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frameworks/Fastfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ lane :release do |options|
174174

175175
if is_set( homebrew_formula_name ) && is_set( lane_context[SharedValues::SET_GITHUB_RELEASE_HTML_LINK] )
176176
UI.important("Bumping Homebrew tap \"#{homebrew_formula_name}\" with version #{version}")
177-
sh "brew bump-formula-pr --no-audit --message=\"Update Formula #{version}\" --version=\"#{version}\" #{homebrew_formula_name}"
177+
# We need to specify `--no-fork` to make the automatic version bump work
178+
sh "brew bump-formula-pr --no-audit --no-fork --message=\"Update Formula #{version}\" --version=\"#{version}\" \"#{homebrew_formula_name}\""
178179
end
179180
end
180181

0 commit comments

Comments
 (0)