1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +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 - linux
- darwin - darwin
goarch: goarch:
- 386 - '386'
- amd64 - amd64
- arm - arm
- arm64 - arm64
goarm: goarm:
- 7 - '7'
ignore: ignore:
- goos: darwin - goos: darwin
goarch: arm goarch: arm
- goos: darwin - goos: darwin
goarch: 386 goarch: '386'
mod_timestamp: "{{ .CommitTimestamp }}" mod_timestamp: "{{ .CommitTimestamp }}"
flags: flags:
- -trimpath - -trimpath
@ -35,17 +35,17 @@ builds:
goos: goos:
- windows - windows
goarch: goarch:
- 386 - '386'
- amd64 - amd64
- arm - arm
- arm64 - arm64
goarm: goarm:
- 7 - '7'
mod_timestamp: "{{ .CommitTimestamp }}" mod_timestamp: "{{ .CommitTimestamp }}"
flags: flags:
- -trimpath - -trimpath
ldflags: 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: checksum:
name_template: "{{ .ProjectName }}_checksums.txt" name_template: "{{ .ProjectName }}_checksums.txt"