Skip to content

Commit

Permalink
Upgrade goreleaser config and pin version
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtaylor committed Jan 8, 2025
1 parent 72c75e1 commit 735973d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 2
before:
hooks:
- go mod tidy
builds:
-
id: wof-sync-os-postcodes
- id: wof-sync-os-postcodes
binary: wof-sync-os-postcodes
env:
- CGO_ENABLED=0
Expand All @@ -12,14 +12,14 @@ builds:
- darwin
main: ./cmd/wof-sync-os-postcodes
archives:
- name_template: {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Tag }}-next"
version_template: "{{ incpatch .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^docs:"
- "^test:"

0 comments on commit 735973d

Please sign in to comment.