fix: canary build file names

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
pull/31343/head
Terry Howe 1 month ago
parent 7e68c8f0cb
commit 52377b7cd7
No known key found for this signature in database

@ -78,7 +78,7 @@ checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-next"
version_template: "{{ if .Env.GORELEASER_CURRENT_TAG }}{{ .Env.GORELEASER_CURRENT_TAG }}{{ else }}{{ incpatch .Version }}-next{{ end }}"
changelog:
sort: asc

@ -186,7 +186,11 @@ 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
.PHONY: fetch-dist
fetch-dist:

Loading…
Cancel
Save