mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 12:32:06 +08:00
ci: simplify release artifacts to direct binaries
This commit is contained in:
parent
f96a71f909
commit
62129aa239
@ -27,27 +27,17 @@ builds:
|
|||||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- id: default
|
- id: binary
|
||||||
format: tar.gz
|
format: binary
|
||||||
format_overrides:
|
|
||||||
- goos: windows
|
|
||||||
format: zip
|
|
||||||
name_template: >-
|
name_template: >-
|
||||||
{{ .ProjectName }}_
|
{{ .Binary }}_
|
||||||
{{- .Version }}_
|
|
||||||
{{- .Os }}_
|
{{- .Os }}_
|
||||||
{{- if eq .Arch "amd64" }}x64{{ end }}
|
{{- if eq .Arch "amd64" }}x64{{ end }}
|
||||||
{{- if eq .Arch "386" }}x86{{ end }}
|
{{- if eq .Arch "386" }}x86{{ end }}
|
||||||
{{- if eq .Arch "arm64" }}arm64{{ end }}
|
{{- if eq .Arch "arm64" }}arm64{{ end }}
|
||||||
{{- if and (eq .Os "darwin") (eq .Arch "amd64") }}_intel{{ end }}
|
{{- if and (eq .Os "darwin") (eq .Arch "amd64") }}_intel{{ end }}
|
||||||
{{- if and (eq .Os "darwin") (eq .Arch "arm64") }}_apple_silicon{{ end }}
|
{{- if and (eq .Os "darwin") (eq .Arch "arm64") }}_apple_silicon{{ end }}
|
||||||
files:
|
{{- if eq .Os "windows" }}.exe{{ end }}
|
||||||
- src: ./README.md
|
|
||||||
dst: .
|
|
||||||
- src: ./LICENSE
|
|
||||||
dst: .
|
|
||||||
- src: ./scripts/*
|
|
||||||
dst: scripts
|
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user