Skip to content

Commit

Permalink
homebrew tap fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ddymko committed Oct 17, 2019
1 parent 8140f57 commit 5294239
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,8 @@ brews:
assert_match "Please export your VULTR API key as an environment variable, eg:\nexport VULTR_API_KEY='<api_key_from_vultr_account>'\n", output
install: |
ENV["GOPATH"] = buildpath
ENV["GO111MODULE"] = "on"
dir = buildpath/"src/github.com/vultr/vultr-cli"
dir.install buildpath.children
cd dir do
system "go", "build", "-o", bin/"vultr-cli", "-ldflags", "-X main.Version=v#{version}"
prefix.install_metafiles
bin.install "vultr-cli"
prefix.install_metafiles
end
release:
Expand Down

0 comments on commit 5294239

Please sign in to comment.