Skip to content

Commit

Permalink
Merge pull request #86 from kitagry/fix-goreleaser
Browse files Browse the repository at this point in the history
fix: goreleaser.yml
  • Loading branch information
kitagry authored May 12, 2024
2 parents d6c374a + 4afbae8 commit 41f75ca
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,21 @@ builds:
- -X main.revision={{ .ShortCommit }}

archives:
- replacements:
darwin: darwin
linux: linux
windows: windows
386: i386
amd64: amd64
- rlcp: true
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}_
{{- .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 }}
brews:
- description: OPA Rego language server
Expand Down

0 comments on commit 41f75ca

Please sign in to comment.