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

Commit 99c5a81

Browse files
committed
Merge pull request #79 from boxen/fix-package-version-check
Fix package version check
2 parents 4239dc1 + ca66b6e commit 99c5a81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

files/boxen-bottle-hooks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Puppet so that manual installs and indirect dependencies are also supported.
1111
module BoxenBottles
1212
def self.file(formula)
13-
"#{formula.name}-#{formula.version}.tar.bz2"
13+
"#{formula.name}-#{formula.pkg_version}.tar.bz2"
1414
end
1515

1616
def self.url(formula)

files/brew-boxen-latest.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
#
77
# $ brew boxen-latest <formula-name>
88
raise FormulaUnspecifiedError if ARGV.named.empty?
9-
puts ARGV.formulae.first.version
9+
puts ARGV.formulae.first.pkg_version

0 commit comments

Comments
 (0)