Browse Source

ci: simplify release artifacts to direct binaries

pull/85/head
dacrab 5 months ago
parent
commit
62129aa239
  1. 18
      .goreleaser.yml

18
.goreleaser.yml

@ -27,27 +27,17 @@ builds:
mod_timestamp: '{{ .CommitTimestamp }}'
archives:
- id: default
format: tar.gz
format_overrides:
- goos: windows
format: zip
- id: binary
format: binary
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{ .Binary }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x64{{ end }}
{{- if eq .Arch "386" }}x86{{ end }}
{{- if eq .Arch "arm64" }}arm64{{ end }}
{{- if and (eq .Os "darwin") (eq .Arch "amd64") }}_intel{{ end }}
{{- if and (eq .Os "darwin") (eq .Arch "arm64") }}_apple_silicon{{ end }}
files:
- src: ./README.md
dst: .
- src: ./LICENSE
dst: .
- src: ./scripts/*
dst: scripts
{{- if eq .Os "windows" }}.exe{{ end }}
checksum:
name_template: 'checksums.txt'

Loading…
Cancel
Save