From 2325184dd00c35c6e42bcc362c57e00a40eac960 Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Sat, 10 Apr 2021 01:30:56 +0530 Subject: [PATCH] bintray: fix filename Co-authored-by: Bo Anderson --- Library/Homebrew/bintray.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/bintray.rb b/Library/Homebrew/bintray.rb index 778af875c8..35ae592a14 100644 --- a/Library/Homebrew/bintray.rb +++ b/Library/Homebrew/bintray.rb @@ -218,8 +218,8 @@ class Bintray bottle_count = bottle_hash["bottle"]["tags"].length bottle_hash["bottle"]["tags"].each do |tag, tag_hash| - filename = Bottle::Filename.create(bottle_hash["formula"]["name"], tag, - bottle_hash["bottle"]["rebuild"]).bintray + filename = Bottle::Filename.new(bottle_hash["formula"]["name"], bottle_hash["formula"]["pkg_version"], + tag, bottle_hash["bottle"]["rebuild"]).bintray sha256 = tag_hash["sha256"] delete_instructions = file_delete_instructions(bintray_repo, bintray_package, filename)