fix: pass VERSION as GORELEASER_CURRENT_TAG to preserve v-prefix in archive names

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
pull/31343/head
Terry Howe 2 weeks ago
parent 93103ce66c
commit 04885dd905
No known key found for this signature in database

@ -179,11 +179,7 @@ build-cross: $(GORELEASER)
.PHONY: dist
dist:
ifeq ($(VERSION),canary)
GORELEASER_CURRENT_TAG=canary LDFLAGS='$(LDFLAGS)' $(GORELEASER) release --snapshot --clean
else
LDFLAGS='$(LDFLAGS)' $(GORELEASER) release --snapshot --clean
endif
GORELEASER_CURRENT_TAG='$(VERSION)' LDFLAGS='$(LDFLAGS)' $(GORELEASER) release --snapshot --clean
.PHONY: fetch-dist
fetch-dist:

Loading…
Cancel
Save