mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-08-03 06:17:36 +08:00
fix: update goreleaser config to latest format
This commit is contained in:
parent
dae6dbcdaa
commit
4dc0034165
@ -25,22 +25,6 @@ builds:
|
|||||||
- -trimpath
|
- -trimpath
|
||||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
||||||
|
|
||||||
# Build matrix
|
|
||||||
matrix:
|
|
||||||
# Special builds for macOS
|
|
||||||
- goos: [darwin]
|
|
||||||
goarch: [amd64]
|
|
||||||
tags: ["intel"]
|
|
||||||
- goos: [darwin]
|
|
||||||
goarch: [arm64]
|
|
||||||
tags: ["apple_silicon"]
|
|
||||||
# Windows builds
|
|
||||||
- goos: [windows]
|
|
||||||
goarch: [amd64, "386"]
|
|
||||||
# Linux builds
|
|
||||||
- goos: [linux]
|
|
||||||
goarch: [amd64, arm64, "386"]
|
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- format: tar.gz
|
- format: tar.gz
|
||||||
format_overrides:
|
format_overrides:
|
||||||
@ -49,20 +33,16 @@ archives:
|
|||||||
name_template: >-
|
name_template: >-
|
||||||
{{ .ProjectName }}_
|
{{ .ProjectName }}_
|
||||||
{{- .Version }}_
|
{{- .Version }}_
|
||||||
{{- .Os }}_
|
{{- title .Os }}_
|
||||||
{{- .Arch }}
|
{{- if eq .Arch "amd64" }}x64{{ end }}
|
||||||
{{- with .Tags }}_{{ . }}{{ 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:
|
files:
|
||||||
- README.md
|
- README.md
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- scripts/* # Include installation scripts
|
- scripts/* # Include installation scripts
|
||||||
replacements:
|
|
||||||
darwin: macOS
|
|
||||||
linux: Linux
|
|
||||||
windows: Windows
|
|
||||||
386: x86
|
|
||||||
amd64: x64
|
|
||||||
arm64: arm64
|
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user