mirror of
https://github.com/wux1an/wxapkg.git
synced 2025-12-24 12:47:52 +08:00
51 lines
781 B
YAML
51 lines
781 B
YAML
before:
|
|
hooks:
|
|
- go mod tidy
|
|
|
|
builds:
|
|
- main: .
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
|
|
ignore:
|
|
- goos: windows
|
|
goarch: 'arm64'
|
|
|
|
binary: 'wxapkg'
|
|
|
|
flags:
|
|
- '-trimpath'
|
|
ldflags:
|
|
- '-s -w'
|
|
- '-X main.version={{ .Version }}'
|
|
- '-X main.commit={{ .ShortCommit }}'
|
|
hooks:
|
|
post: "upx --lzma {{ .Path }}"
|
|
|
|
changelog:
|
|
filters:
|
|
exclude:
|
|
- '^doc:'
|
|
- typo
|
|
- (?i)foo
|
|
- '^ref'
|
|
- '^style'
|
|
groups:
|
|
- title: Features
|
|
regexp: "^.*feat[(\\w)]*:+.*$"
|
|
order: 0
|
|
- title: 'Bug fixes'
|
|
regexp: "^.*fix[(\\w)]*:+.*$"
|
|
order: 1
|
|
- title: Others
|
|
order: 999
|
|
|
|
archives:
|
|
- format: binary
|
|
|
|
checksum:
|
|
algorithm: md5 |