Skip to content

Commit

Permalink
fix: update to current syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
maier committed Nov 14, 2023
1 parent 8154f16 commit 31cc8ea
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,19 @@ before:

builds:
-
id: clw
main: main.go

binary: sbin/circonus-logwatchd

env:
- CGO_ENABLED=0

flags:
#- -tags dev

goos:
- linux
- freebsd

goarch:
- amd64

ignore:
-
goarch: 386

ldflags:
- -s
- -w
Expand All @@ -42,16 +34,10 @@ archives:
-
id: default
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}_{{.Arch}}"

format: tar.gz

replacements:
amd64: x86_64

format_overrides:
- goos: windows
format: zip

files:
- LICENSE
- README.md
Expand All @@ -67,8 +53,29 @@ release:

prerelease: auto

snapshot:
name_template: SNAPSHOT-{{.Commit}}
changelog:
use: git
sort: desc
abbrev: 0
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: 'Dependencies'
regexp: "^.*build(deps):+.*$"
order: 2
- title: Others
order: 999
filters:
exclude:
- '^docs:'
- typo

checksum:
name_template: "{{.ProjectName}}_checksums.txt"

snapshot:
name_template: '{{ incpatch .Version }}-devel'

0 comments on commit 31cc8ea

Please sign in to comment.