mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-08-02 13:57:35 +08:00
chore: update GoReleaser configuration for improved binary naming and build settings
- Modified binary naming template to include project name and version for better identification. - Enhanced architecture handling in the naming template to support additional architectures. - Added 'cursor-id-modifier' to the build settings for more specific build targeting. - Allowed different binary counts in the release process, improving flexibility in output.
This commit is contained in:
parent
d36f868f4e
commit
dc7761593d
@ -38,17 +38,17 @@ archives:
|
|||||||
- id: binary
|
- id: binary
|
||||||
format: binary
|
format: binary
|
||||||
name_template: >-
|
name_template: >-
|
||||||
{{ .Binary }}_
|
{{- .ProjectName }}_
|
||||||
|
{{- .Version }}_
|
||||||
{{- .Os }}_
|
{{- .Os }}_
|
||||||
{{- if eq .Arch "amd64" }}x64{{ end }}
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
{{- if eq .Arch "386" }}x86{{ end }}
|
{{- else if eq .Arch "386" }}i386
|
||||||
{{- if eq .Arch "arm64" }}arm64{{ end }}
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
replacements:
|
builds:
|
||||||
darwin: Darwin
|
- cursor-id-modifier
|
||||||
linux: Linux
|
allow_different_binary_count: true
|
||||||
windows: Windows
|
files:
|
||||||
386: i386
|
- none*
|
||||||
amd64: x86_64
|
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user