treefmt/.goreleaser.yaml

39 lines
892 B
YAML
Raw Normal View History

2024-05-09 21:17:51 +03:00
# 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
2024-05-09 21:17:51 +03:00
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X git.numtide.com/numtide/treefmt/build.Version=v{{.Version}}
goos:
- linux
- darwin
2024-05-09 21:17:51 +03:00
# marks the release as draft
# this is to prevent noise until we have a stable 2.x
release:
draft: true
2024-05-09 21:17:51 +03:00
changelog:
sort: asc
use: github
filters:
exclude:
- "^chore:"
- "^docs:"
- "^test:"