mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
✨ 更新 goreleaser
This commit is contained in:
parent
8e56f137b6
commit
7dfb7dfe24
@ -26,7 +26,7 @@ builds:
|
|||||||
goarch: 386
|
goarch: 386
|
||||||
mod_timestamp: "{{ .CommitTimestamp }}"
|
mod_timestamp: "{{ .CommitTimestamp }}"
|
||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath -o zbp
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w
|
- -s -w
|
||||||
- id: win
|
- id: win
|
||||||
@ -40,7 +40,7 @@ builds:
|
|||||||
- amd64
|
- amd64
|
||||||
mod_timestamp: "{{ .CommitTimestamp }}"
|
mod_timestamp: "{{ .CommitTimestamp }}"
|
||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath -o zbp.exe
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w
|
- -s -w
|
||||||
|
|
||||||
@ -59,13 +59,6 @@ changelog:
|
|||||||
- go mod tidy
|
- go mod tidy
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- id: binary
|
|
||||||
builds:
|
|
||||||
- win
|
|
||||||
name_template: "zbp_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
|
||||||
format_overrides:
|
|
||||||
- goos: windows
|
|
||||||
format: binary
|
|
||||||
- id: nowin
|
- id: nowin
|
||||||
builds:
|
builds:
|
||||||
- nowin
|
- nowin
|
||||||
@ -77,9 +70,9 @@ archives:
|
|||||||
|
|
||||||
nfpms:
|
nfpms:
|
||||||
- license: GPL 3.0
|
- license: GPL 3.0
|
||||||
homepage: https://go-cqhttp.org
|
homepage: https://github.com/FloatTech/ZeroBot-Plugin
|
||||||
file_name_template: "zbp_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
file_name_template: "zbp_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
||||||
formats:
|
formats:
|
||||||
- deb
|
- deb
|
||||||
- rpm
|
- rpm
|
||||||
maintainer: Kanri, DawnNights, Fumiama, Suika
|
maintainer: FloatTech
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user