-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.goreleaser.yml
58 lines (48 loc) · 1.08 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
54
55
56
57
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 1
project_name: go-apiclient
before:
hooks:
- go mod tidy
- golangci-lint run
- cmd: golangci-lint run
env:
- GOOS=linux
- govulncheck ./...
builds:
- skip: true
release:
github:
owner: circonus-labs
name: go-apiclient
draft: false
prerelease: auto
changelog:
use: git
sort: desc
abbrev: 0
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: 'Dependencies'
regexp: "^.*build(deps):+.*$"
order: 2
- title: Others
order: 999
filters:
exclude:
- '^docs:'
- typo
checksum:
name_template: "{{.ProjectName}}_checksums.txt"
sboms:
- artifacts: any
args: ["../go.mod", "--output", "[email protected]={{.ProjectName}}_{{.Version}}.sbom"]
env:
- SYFT_GOLANG_SEARCH_LOCAL_MOD_CACHE_LICENSES=true
- SYFT_GOLANG_SEARCH_REMOTE_LICENSES=true