diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index c16165b88c..b1f851b8db 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -134,6 +134,7 @@ module Homebrew rsrc = Resource.new { @url = rsrc_url } rsrc.download_strategy = CurlDownloadStrategy rsrc.owner = Resource.new(formula.name) + rsrc.version = forced_version if forced_version rsrc_path = rsrc.fetch if Utils.popen_read("/usr/bin/tar", "-tf", rsrc_path) =~ %r{/.*\.} new_hash = rsrc_path.sha256