mirror of
https://github.com/numtide/treefmt.git
synced 2024-08-16 20:30:25 +03:00
34 lines
783 B
YAML
34 lines
783 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
|
|
|
|
changelog:
|
|
sort: asc
|
|
use: github
|
|
filters:
|
|
exclude:
|
|
- "^chore:"
|
|
- "^docs:"
|
|
- "^test:"
|