Skip to content

Commit

Permalink
ci(goreleaser): exclude merge commits from changelog (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn authored Sep 20, 2024
1 parent 36a9832 commit c7b0e27
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cmd/gemini/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
project_name: gemini

builds:
- main: .
ldflags:
- -s -w -X main.version={{.Version}}
env: [CGO_ENABLED=0]
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- 386

archives:
- name_template: >-
{{ .ProjectName }}_{{ .Version }}_
{{- if eq .Os "darwin" }}macos
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
changelog:
filters:
exclude:
- "^Merge pull request"

0 comments on commit c7b0e27

Please sign in to comment.