Skip to content

Commit

Permalink
update deprecated goreleaser flags
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Mar 27, 2023
1 parent 5817313 commit a26b3d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ko-local: ## Build zeitgeist/buoy image locally (does not push it)
.PHONY: snapshot
snapshot: ## Build zeitgeist binaries with goreleaser in snapshot mode
LDFLAGS="$(LDFLAGS)" GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) \
goreleaser release --rm-dist --snapshot --skip-sign --skip-publish
goreleaser release --clean --snapshot --skip-sign --skip-publish

lint:
test -z $(shell go fmt .) || (echo "Linting failed !" && exit 8)
Expand Down Expand Up @@ -91,7 +91,7 @@ verify-golangci-lint: ## Runs all golang linters
.PHONY: goreleaser
goreleaser: ## Build zeitgeist binaries with goreleaser
LDFLAGS="$(LDFLAGS)" GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) \
goreleaser release --rm-dist
goreleaser release --clean

.PHONY: ko-release
ko-release: ko-release-zeitgeist ko-release-buoy
Expand Down

0 comments on commit a26b3d5

Please sign in to comment.