Skip to content

Commit

Permalink
Merge pull request #490 from cpanato/update-goreleaser-flags
Browse files Browse the repository at this point in the history
update deprecated goreleaser flags
  • Loading branch information
k8s-ci-robot authored Mar 27, 2023
2 parents 82de094 + a26b3d5 commit 0a700a0
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 0a700a0

Please sign in to comment.