Skip to content

Commit

Permalink
Unify .goreleaser.yml configuration
Browse files Browse the repository at this point in the history
Use the same general `.goreleaser.yml` configuration in homeport.
  • Loading branch information
HeavyWombat committed Aug 2, 2024
1 parent e18bb01 commit 87cd2d5
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
---
version: 2

builds:
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm64
main: ./cmd/dyff/main.go
flags:
- -trimpath
ldflags:
- -s -w -extldflags "-static" -X github.com/homeport/dyff/internal/cmd.version={{.Version}}
mod_timestamp: '{{ .CommitTimestamp }}'
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm64
main: ./cmd/dyff/main.go
flags:
- -trimpath
ldflags:
- -s -w -extldflags "-static" -X github.com/homeport/dyff/internal/cmd.version={{.Version}}
mod_timestamp: '{{ .CommitTimestamp }}'

checksum:
name_template: 'checksums.txt'
Expand All @@ -26,12 +28,12 @@ release:
name_template: "{{.ProjectName}} release v{{.Version}}"

changelog:
disable: true
sort: ""
disable: false
use: github
filters:
exclude:
- '^docs:'
- '^test:'
- "Merge pull request"
- "dependabot"

brews:
- repository:
Expand Down

0 comments on commit 87cd2d5

Please sign in to comment.