chore: separate darwin build configuration into .goreleaser-darwin.yaml and update action
This commit is contained in:
@@ -24,20 +24,6 @@ builds:
|
||||
- -X snitch/cmd.Commit={{.ShortCommit}}
|
||||
- -X snitch/cmd.Date={{.Date}}
|
||||
|
||||
- id: darwin
|
||||
env:
|
||||
- CGO_ENABLED=1
|
||||
goos:
|
||||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
ldflags:
|
||||
- -s -w
|
||||
- -X snitch/cmd.Version={{.Version}}
|
||||
- -X snitch/cmd.Commit={{.ShortCommit}}
|
||||
- -X snitch/cmd.Date={{.Date}}
|
||||
|
||||
archives:
|
||||
- formats:
|
||||
- tar.gz
|
||||
@@ -74,8 +60,6 @@ nfpms:
|
||||
- deb
|
||||
- rpm
|
||||
- apk
|
||||
ids:
|
||||
- linux
|
||||
|
||||
release:
|
||||
github:
|
||||
|
||||
Reference in New Issue
Block a user