1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

fix(ci): make Version available in windows releases

This commit is contained in:
wdvxdr 2021-11-13 15:46:30 +08:00
parent 530e2c24d2
commit 7751aa942e
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6

View File

@ -12,17 +12,17 @@ builds:
- linux
- darwin
goarch:
- 386
- '386'
- amd64
- arm
- arm64
goarm:
- 7
- '7'
ignore:
- goos: darwin
goarch: arm
- goos: darwin
goarch: 386
goarch: '386'
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
@ -35,17 +35,17 @@ builds:
goos:
- windows
goarch:
- 386
- '386'
- amd64
- arm
- arm64
goarm:
- 7
- '7'
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
ldflags:
- -s -w -X github.com/Mrs4s/go-cqhttp/coolq.Version=v{{.Version}}
- -s -w -X github.com/Mrs4s/go-cqhttp/internal/base.Version=v{{.Version}}
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"