mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fix: address goreleaser build issues flagged in review
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
This commit is contained in:
parent
04885dd905
commit
c075022ce1
3 changed files with 1 additions and 7 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
3
Makefile
3
Makefile
|
|
@ -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…
Reference in a new issue