fix: address goreleaser build issues flagged in review

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

@ -38,7 +38,6 @@ jobs:
run: |
set -eu -o pipefail
make build-cross VERSION="${{ github.ref_name }}"
make dist checksum VERSION="${{ github.ref_name }}"
- name: Set latest version

@ -2,10 +2,6 @@ version: 2
project_name: helm
before:
hooks:
- go mod tidy
dist: _dist
builds:
- env:

@ -163,7 +163,6 @@ gen-test-golden: test-unit
# without a go.mod file when downloading the following dependencies
$(GORELEASER):
echo go install github.com/goreleaser/goreleaser/v2@latest
(cd /; go install github.com/goreleaser/goreleaser/v2@latest)
$(GOIMPORTS):
@ -178,7 +177,7 @@ build-cross: $(GORELEASER)
LDFLAGS='$(LDFLAGS)' $(GORELEASER) build --snapshot --clean
.PHONY: dist
dist:
dist: $(GORELEASER)
GORELEASER_CURRENT_TAG='$(VERSION)' LDFLAGS='$(LDFLAGS)' $(GORELEASER) release --snapshot --clean
.PHONY: fetch-dist

Loading…
Cancel
Save