treefmt/.goreleaser.yaml
Brian McGee 022398399f
fixup! feat: configure goreleaser to mark releases as pre-release (#305)
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-29 15:25:07 +01:00

39 lines
892 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 draft
# this is to prevent noise until we have a stable 2.x
release:
draft: true
changelog:
sort: asc
use: github
filters:
exclude:
- "^chore:"
- "^docs:"
- "^test:"