Skip to content

Commit

Permalink
update deprecated fields in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
pete911 committed May 13, 2024
1 parent b649b14 commit 28cde6c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
builds:
-
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -X main.Version={{.Version}}

archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
dist: releases
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
Expand All @@ -23,7 +31,7 @@ release:
owner: pete911
name: ipcalc
brews:
- tap:
- repository:
owner: pete911
name: homebrew-tap
token: "{{ .Env.GITHUB_TOKEN }}"
Expand Down

0 comments on commit 28cde6c

Please sign in to comment.