Skip to content

Commit

Permalink
merge(#356): fixed goreleaser install
Browse files Browse the repository at this point in the history
Fixed GoReleaser install in the build
#356
  • Loading branch information
pregnor authored Nov 4, 2021
2 parents da21a21 + 1ee1793 commit 6d031b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,12 @@ generate-telescopes-client: ## Generate client from Telescopes OpenAPI spec

bin/goreleaser: bin/goreleaser-${GORELEASER_VERSION}
@ln -sf goreleaser-${GORELEASER_VERSION} bin/goreleaser

# Note: removing the last line of the script because we install and run
# goreleaser in 2 separate steps, the last line is the execution line.
bin/goreleaser-${GORELEASER_VERSION}:
@mkdir -p bin
curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | bash -s -- -b ./bin/ v${GORELEASER_VERSION}
curl -sfL https://git.io/goreleaser | sed '$$ d' | TMPDIR=./bin VERSION=v${GORELEASER_VERSION} bash
@mv bin/goreleaser $@

.PHONY: release
Expand Down

0 comments on commit 6d031b6

Please sign in to comment.