Skip to content

Commit

Permalink
update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
nvthongswansea committed Jun 4, 2024
1 parent d24f6fc commit 4ff040d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is an example goreleaser.yaml file with some sane defaults.
# This is an example goreleaser.yaml file with some defaults.
# Make sure to check the documentation at http://goreleaser.com
env:
- CGO_ENABLED=0
Expand Down Expand Up @@ -30,6 +30,9 @@ builds:
ldflags:
- '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
goos:
- netbsd
- solaris
- openbsd
- freebsd
- windows
- linux
Expand All @@ -40,6 +43,8 @@ builds:
- arm
- arm64
ignore:
- goos: openbsd
goarch: arm64
- goos: darwin
goarch: '386'
- goos: linux
Expand All @@ -65,13 +70,6 @@ signs:
- "${signature}"
- "--detach-sign"
- "${artifact}"
release:
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
# As part of the release doc files are included as a separate deliverable for consumption by Packer.io.
# To include a separate docs.zip uncomment the extra_files config and the docs.zip command hook above.
extra_files:
- glob: ./docs.zip

changelog:
skip: true
use: github-native

0 comments on commit 4ff040d

Please sign in to comment.