mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fix: pass VERSION as GORELEASER_CURRENT_TAG to preserve v-prefix in archive names
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
This commit is contained in:
parent
93103ce66c
commit
04885dd905
1 changed files with 1 additions and 5 deletions
6
Makefile
6
Makefile
|
|
@ -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…
Reference in a new issue