treefmt/.goreleaser.yaml
Brian McGee 53b0dc5536
feat: configure goreleaser to mark releases as pre-release (#305)
This is to prevent noise until we have a stable 2.x

Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-29 09:23:54 +02:00

38 lines
890 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: 1
project_name: treefmt
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X git.numtide.com/numtide/treefmt/build.Version=v{{.Version}}
goos:
- linux
- darwin
# marks the release as pre-release
# this is to prevent noise until we have a stable 2.x
prerelease: true
changelog:
sort: asc
use: github
filters:
exclude:
- "^chore:"
- "^docs:"
- "^test:"