Skip to content

Commit

Permalink
Nuance goreleaser options
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Feb 12, 2024
1 parent 5e0962f commit e5dfca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand Down
1 change: 1 addition & 0 deletions cmd/gofer/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
project_name: gofer
builds:
- main: ./cmd/gofer/
binary: gofer
env:
- CGO_ENABLED=0
goos:
Expand Down

0 comments on commit e5dfca4

Please sign in to comment.