From e5dfca4ef42ea64eec9004003e8ddb3fa09bd5da Mon Sep 17 00:00:00 2001 From: Ross Spencer Date: Mon, 12 Feb 2024 11:46:14 +0100 Subject: [PATCH] Nuance goreleaser options --- Makefile | 4 ++-- cmd/gofer/.goreleaser.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fc34a284..e9b7197c 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,11 @@ gofer-snapshot: ## Build a snapshot of gofer. gofer-release: ## Build a gofer release.. cd cmd/gofer; - goreleaser release --skip-publish --clean -f cmd/gofer/.goreleaser.yml --skip-sign + goreleaser release --skip=publish --clean -f cmd/gofer/.goreleaser.yml --skip=sign gofer-release-sign: ## Build a gofer release.. cd cmd/gofer; - goreleaser release --skip-publish --clean -f cmd/gofer/.goreleaser.yml + goreleaser release --skip=publish --clean -f cmd/gofer/.goreleaser.yml lint: ## Lint the source code (--ignore-errors to ignore errs) go fmt ./... diff --git a/cmd/gofer/.goreleaser.yml b/cmd/gofer/.goreleaser.yml index 065399e4..5ddc52f6 100644 --- a/cmd/gofer/.goreleaser.yml +++ b/cmd/gofer/.goreleaser.yml @@ -1,6 +1,7 @@ project_name: gofer builds: - main: ./cmd/gofer/ + binary: gofer env: - CGO_ENABLED=0 goos: