forked from lucasepe/yml2dot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
50 lines (50 loc) · 1.06 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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
# Run locally with: goreleaser --rm-dist --snapshot --skip-publish
project_name: yml2dot
before:
hooks:
- go mod tidy
- go mod download
builds:
- binary: '{{ .ProjectName }}'
main: ./main.go
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}
- -a -extldflags "-static"
goos:
- windows
- linux
- darwin
goarch:
- amd64
archives:
- replacements:
darwin: macOS
windows: win
amd64: 64-bit
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .ProjectName }}_{{ .Tag }}"
nfpms:
-
package_name: yml2dot
vendor: Luca Sepe
homepage: https://lucasepe.it/
maintainer: Luca Sepe <[email protected]>
description: Turn YAML into beautiful Graph.
license: MIT
replacements:
amd64: 64-bit
formats:
- deb
- rpm
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'