Merge pull request #11097 from nandahkrishna/fix-bintray-filename
bintray: fix filename for bottle uploads
This commit is contained in:
commit
b117529985
@ -217,8 +217,9 @@ class Bintray
|
|||||||
bintray_repo = bottle_hash["bintray"]["repository"]
|
bintray_repo = bottle_hash["bintray"]["repository"]
|
||||||
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 = tag_hash["filename"] # URL encoded in Bottle::Filename#bintray
|
filename = Bottle::Filename.new(bottle_hash["formula"]["name"], bottle_hash["formula"]["pkg_version"],
|
||||||
|
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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user