Skip to content

Commit

Permalink
Update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
kelseyfrancis committed Aug 19, 2022
1 parent 4c56cbd commit 87029cc
Showing 1 changed file with 12 additions and 19 deletions.
31 changes: 12 additions & 19 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,30 @@ builds:
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
goos:
- freebsd
- windows
- linux
- darwin
goarch:
- amd64
- '386'
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
signs:
- artifacts: checksum
args:
# if you are using this is a GitHub action or some other automated pipeline, you
# need to pass the batch flag to indicate its not interactive.
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
#signs:
# - artifacts: checksum
# args:
# # if you are using this is a GitHub action or some other automated pipeline, you
# # need to pass the batch flag to indicate its not interactive.
# - "--batch"
# - "--local-user"
# - "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
# - "--output"
# - "${signature}"
# - "--detach-sign"
# - "${artifact}"
release:
# Visit your project's GitHub Releases page to publish this release.
#draft: true
Expand Down

0 comments on commit 87029cc

Please sign in to comment.