mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 22:40:23 +08:00
✨ 更新 goreleaser
This commit is contained in:
parent
7dfb7dfe24
commit
591df6439c
@ -1,3 +1,4 @@
|
|||||||
|
project_name: zbp
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
before:
|
before:
|
||||||
@ -26,7 +27,7 @@ builds:
|
|||||||
goarch: 386
|
goarch: 386
|
||||||
mod_timestamp: "{{ .CommitTimestamp }}"
|
mod_timestamp: "{{ .CommitTimestamp }}"
|
||||||
flags:
|
flags:
|
||||||
- -trimpath -o zbp
|
- -trimpath
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w
|
- -s -w
|
||||||
- id: win
|
- id: win
|
||||||
@ -40,7 +41,7 @@ builds:
|
|||||||
- amd64
|
- amd64
|
||||||
mod_timestamp: "{{ .CommitTimestamp }}"
|
mod_timestamp: "{{ .CommitTimestamp }}"
|
||||||
flags:
|
flags:
|
||||||
- -trimpath -o zbp.exe
|
- -trimpath
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w
|
- -s -w
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user