KillWxapkg/.goreleaser.yaml
2024-07-25 13:39:39 +08:00

38 lines
739 B
YAML

# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
upx:
- enabled: true
compress: best
lzma: true
builds:
- env:
- CGO_ENABLED=0
goos:
- windows
archives:
- format: binary
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
checksum:
algorithm: md5