version: 2
before:
hooks:
- cargo install --locked cargo-zigbuild
- cargo fetch --locked
builds:
- builder: rust
flags:
- --release
targets:
- x86_64-unknown-linux-gnu
- aarch64-unknown-linux-gnu
- x86_64-apple-darwin
- aarch64-apple-darwin
- x86_64-pc-windows-gnu
- i686-pc-windows-gnu
archives:
- formats: [tar.gz]
name_template: "{{ .ProjectName }}-{{ .Target }}"
format_overrides:
- goos: windows
formats: [zip]
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
footer: >-
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).