-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.goreleaser.yml
More file actions
70 lines (60 loc) · 1.78 KB
/
.goreleaser.yml
File metadata and controls
70 lines (60 loc) · 1.78 KB
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
version: 2
project_name: ghalint
archives:
- format_overrides:
- goos: windows
formats: [zip]
files:
- LICENSE
- README.md
- third_party_licenses/**/*
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
sboms:
- id: default
disable: false
builds:
- main: ./cmd/ghalint
binary: ghalint
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm64
release:
prerelease: "true" # we update release note manually before releasing
header: |
[Pull Requests](https://github.com/suzuki-shunsuke/ghalint/pulls?q=is%3Apr+milestone%3A{{.Tag}}) | [Issues](https://github.com/suzuki-shunsuke/ghalint/issues?q=is%3Aissue+milestone%3A{{.Tag}}) | https://github.com/suzuki-shunsuke/ghalint/compare/{{.PreviousTag}}...{{.Tag}}
homebrew_casks:
-
# NOTE: make sure the url_template, the token and given repo (github or gitlab) owner and name are from the
# same kind. We will probably unify this in the next major version like it is done with scoop.
repository:
owner: suzuki-shunsuke
name: homebrew-ghalint
# The project name and current git tag are used in the format string.
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://github.com/suzuki-shunsuke/ghalint
description: GitHub Actions linter
license: MIT
skip_upload: true
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/ghalint"]
end
scoops:
- description: GitHub Actions linter for security best practices.
license: MIT
skip_upload: true
repository:
owner: suzuki-shunsuke
name: scoop-bucket