-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
53 lines (53 loc) · 1.04 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/yamlfmt/main.go
goos:
- windows
- darwin
- linux
goarch:
- amd64
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
files:
- README.md
- LICENSE
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
- go mod tidy
brews:
- name: yamlfmt
tap:
owner: stuart-warren
name: homebrew-apps
token: "{{ .Env.HOMEBREW_GITHUB_TOKEN }}"
folder: Formula
homepage: https://github.com/stuart-warren/yamlfmt
description: based on gofmt, yamlfmt formats yaml files into a canonical format
license: BSD-3-clause
test: |
system "#{bin}/yamlfmt -help"
dependencies:
- name: go
install: |-
bin.install "yamlfmt"