Skip to content

Commit 9a0209b

Browse files
committed
Fix incorrect flags
1 parent c3744b2 commit 9a0209b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,19 +171,16 @@ LOCALBIN ?= $(shell pwd)/bin
171171
$(LOCALBIN):
172172
mkdir -p $(LOCALBIN)
173173

174-
.PHONY: release
175-
release: $(addprefix release-arch-,$(ARCHITECTURES))
176-
177174
ARCHITECTURES=amd64 arm64 ppc64le s390x
178175

179176
define RELEASE_template
180-
export ENABLE_RELEASE_PIPELINE ?= false
181-
export GORELEASER_ARGS ?= --snapshot --clean --timeout=120m --debug
182177
.PHONY: release-arch-$(1)
183-
release-arch-$(1): $(GORELEASER) ## Runs goreleaser. By default, this will run only as a snapshot and will not publish any artifacts unless it is run with different arguments. To override the arguments, run with "GORELEASER_ARGS=...". When run as a github action from a tag, this target will publish a full release.
178+
release-arch-$(1): ## Runs goreleaser. By default, this will run only as a snapshot and will not publish any artifacts unless it is run with different arguments. To override the arguments, run with "GORELEASER_ARGS=...". When run as a github action from a tag, this target will publish a full release.
184179
$(GORELEASER) $(GORELEASER_ARGS) --config .goreleaser.$(1).yml
185180
endef
186181

182+
export ENABLE_RELEASE_PIPELINE ?= false
183+
export GORELEASER_ARGS ?= --snapshot --clean --timeout=120m --debug
187184
$(foreach arch,$(ARCHITECTURES),$(eval $(call RELEASE_template,$(arch))))
188185

189186
export ENABLE_RELEASE_PIPELINE ?= false

0 commit comments

Comments
 (0)