brew-pull: use pkg_version when publishing bottles
This commit is contained in:
parent
913c12fd43
commit
e1611c4c22
@ -170,8 +170,7 @@ module Homebrew
|
||||
changed_formulae.each do |f|
|
||||
ohai "Publishing on Bintray:"
|
||||
package = Bintray.package f.name
|
||||
bottle = Bottle.new(f, f.bottle_specification)
|
||||
version = Bintray.version(bottle.url)
|
||||
version = f.pkg_version
|
||||
curl "--silent", "--fail",
|
||||
"-u#{bintray_user}:#{bintray_key}", "-X", "POST",
|
||||
"https://api.bintray.com/content/homebrew/#{repo}/#{package}/#{version}/publish"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user