fix: canary build file names

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
pull/31343/head
Terry Howe 6 months ago
parent 5a75279c1a
commit eaa09100b9
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

@ -179,7 +179,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