bintray: fix filename

Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
Nanda H Krishna 2021-04-10 01:30:56 +05:30 committed by GitHub
parent fca71c28ae
commit 2325184dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,8 +218,8 @@ class Bintray
bottle_count = bottle_hash["bottle"]["tags"].length bottle_count = bottle_hash["bottle"]["tags"].length
bottle_hash["bottle"]["tags"].each do |tag, tag_hash| bottle_hash["bottle"]["tags"].each do |tag, tag_hash|
filename = Bottle::Filename.create(bottle_hash["formula"]["name"], tag, filename = Bottle::Filename.new(bottle_hash["formula"]["name"], bottle_hash["formula"]["pkg_version"],
bottle_hash["bottle"]["rebuild"]).bintray tag, bottle_hash["bottle"]["rebuild"]).bintray
sha256 = tag_hash["sha256"] sha256 = tag_hash["sha256"]
delete_instructions = file_delete_instructions(bintray_repo, bintray_package, filename) delete_instructions = file_delete_instructions(bintray_repo, bintray_package, filename)