Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #79 from boxen/fix-package-version-check
Browse files Browse the repository at this point in the history
Fix package version check
  • Loading branch information
MikeMcQuaid committed Feb 18, 2015
2 parents 4239dc1 + ca66b6e commit 99c5a81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/boxen-bottle-hooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Puppet so that manual installs and indirect dependencies are also supported.
module BoxenBottles
def self.file(formula)
"#{formula.name}-#{formula.version}.tar.bz2"
"#{formula.name}-#{formula.pkg_version}.tar.bz2"
end

def self.url(formula)
Expand Down
2 changes: 1 addition & 1 deletion files/brew-boxen-latest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
#
# $ brew boxen-latest <formula-name>
raise FormulaUnspecifiedError if ARGV.named.empty?
puts ARGV.formulae.first.version
puts ARGV.formulae.first.pkg_version

0 comments on commit 99c5a81

Please sign in to comment.