-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yaml
97 lines (86 loc) · 2.04 KB
/
.goreleaser.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: 2
project_name: bicep-docs
release:
github:
owner: christosgalano
name: bicep-docs
before:
hooks:
- go mod tidy
- go mod download
builds:
- id: bicep-docs
binary: bicep-docs
main: ./cmd/bicep-docs
goos:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm
- arm64
env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
archives:
- id: bicep-docs
builds:
- bicep-docs
format: tar.gz
name_template: '{{.ProjectName}}_{{.Os}}_{{.Arch}}'
files:
- README.md
- LICENSE
format_overrides:
- goos: windows
format: zip
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
sboms:
- artifacts: binary
documents:
- '{{ .Binary }}_{{ .Os }}_{{ .Arch }}.sbom.json'
changelog:
use: github
sort: asc
filters:
exclude:
- 'LICENSE'
- 'CONTRIBUTING.md'
- 'CODE_OF_CONDUCT.md'
- '^testdata:'
- '.*_test.go'
- Merge pull request
- Merge branch
nfpms:
- package_name: bicep-docs
homepage: https://github.com/christosgalano/bicep-docs
maintainer: Christos Galanopoulos <christosgalanop@gmail.com>
description: Command-line tool to generate documentation for Bicep templates
license: MIT
formats:
- apk
- deb
- rpm
file_name_template: '{{.ProjectName}}_{{.Os}}_{{.Arch}}'
brews:
- name: bicep-docs
description: Command-line tool to generate documentation for Bicep templates
license: MIT
homepage: https://github.com/christosgalano/bicep-docs
directory: Formula
test: system "#{bin}/bicep-docs", "--help"
repository:
name: homebrew-christosgalano
owner: christosgalano
commit_author:
name: christosgalano
email: christosgalanop@gmail.com
install: bin.install "bicep-docs"