From b13be5e989632a32c2e2d5940a6e513bb3ec833c Mon Sep 17 00:00:00 2001 From: Seeker Date: Thu, 10 Dec 2020 14:51:34 -0800 Subject: [PATCH] bump-cask-pr: don't add checksum when versioned and has :no_check --- Library/Homebrew/dev-cmd/bump-cask-pr.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/bump-cask-pr.rb b/Library/Homebrew/dev-cmd/bump-cask-pr.rb index f884a0b5ad..4b114005df 100644 --- a/Library/Homebrew/dev-cmd/bump-cask-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-cask-pr.rb @@ -131,7 +131,7 @@ module Homebrew tmp_config = cask.config tmp_url = tmp_cask.url.to_s - if new_hash.nil? + if new_hash.nil? && old_hash != :no_check resource_path = fetch_resource(cask, new_version, tmp_url) Utils::Tar.validate_file(resource_path) new_hash = resource_path.sha256