Skip to content

Commit

Permalink
Merge pull request #60 from goark/support-rfc4880bis
Browse files Browse the repository at this point in the history
Fix .goreleaser.yml
  • Loading branch information
spiegel-im-spiegel authored Dec 19, 2023
2 parents 982d64d + 8e763e7 commit 9c63020
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
25 changes: 14 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,40 @@ builds:
-
env:
- GO111MODULE=on
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
- freebsd
goarch:
- amd64
- arm
- arm64
- riscv64
main: ./
flags:
- -trimpath
ldflags: -s -w -X github.com/goark/gpgpdump/facade.Version=v{{ .Version }}
binary: gpgpdump

source:
rlcp: true
archives:
-
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
amd64: 64bit
386: 32bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
freebsd: FreeBSD
name_template: >-
{{ .Binary }}_
{{- .Version }}_
{{- if eq .Os "freebsd" }}FreeBSD
{{- else }}{{ title .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}64bit
{{- else if eq .Arch "386" }}32bit
{{- else if eq .Arch "arm64" }}ARM64
{{- else if eq .Arch "riscv64" }}RISCV
{{- else }}{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ end }}
files:
- LICENSE*
- README*
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tasks:
build-all:
desc: Build executable binary with GoReleaser.
cmds:
- goreleaser --snapshot --skip-publish --clean
- goreleaser --snapshot --skip=publish --clean

test:
desc: Test and lint.
Expand Down

0 comments on commit 9c63020

Please sign in to comment.