diff --git a/.goreleaser.yml b/.goreleaser.yml index 70cdeb3..661ec5d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -69,8 +69,7 @@ builds: - GOOS={{ .Os }} - GOARCH={{ .Arch }} upx: - - enabled: "{{ .IsSnapshot }}" - goos: + - goos: - linux compress: "9" lzma: true @@ -90,7 +89,7 @@ archives: dockers: - image_templates: # Specify the image tag including `-amd64` suffix if the build is not a snapshot build or is not being built on - # arm64 machine. This allows for using the snapshot image build without the archtecture specific suffix + # arm64 machine. This allows for using the snapshot image build without the architecture specific suffix # consistently on local machines, i.e. can always use `ghcr.io/mesosphere/dynamic-credential-provider:v` on the machine the snapshot # is built on. # diff --git a/make/goreleaser.mk b/make/goreleaser.mk index 6d08c9a..d62747e 100644 --- a/make/goreleaser.mk +++ b/make/goreleaser.mk @@ -18,8 +18,7 @@ build-snapshot: ; $(info $(M) building snapshot $*) --snapshot \ --clean \ --parallelism=$(GORELEASER_PARALLELISM) \ - --single-target \ - --skip-post-hooks + --single-target .PHONY: release release: ## Builds a release with goreleaser @@ -36,6 +35,5 @@ release-snapshot: ; $(info $(M) building snapshot release $*) goreleaser --debug=$(GORELEASER_DEBUG) \ release \ --snapshot \ - --skip-publish \ --clean \ --parallelism=$(GORELEASER_PARALLELISM)