terragrunt: match version with official binary.

Closes #9755.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Arjun Urs 2017-02-08 03:20:44 -08:00 committed by Mike McQuaid
parent 5f3c1e02ba
commit 8560526781

View file

@ -22,7 +22,7 @@ class Terragrunt < Formula
mkdir_p buildpath/"src/github.com/gruntwork-io/"
ln_s buildpath, buildpath/"src/github.com/gruntwork-io/terragrunt"
system "glide", "install"
system "go", "build", "-o", bin/"terragrunt", "-ldflags", "-X main.VERSION=" + version.to_s
system "go", "build", "-o", bin/"terragrunt", "-ldflags", "-X main.VERSION=v#{version}"
end
test do