-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
124 lines (113 loc) · 2.95 KB
/
Copy path.goreleaser.yml
File metadata and controls
124 lines (113 loc) · 2.95 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
report_sizes: true
metadata:
mod_timestamp: '{{ .CommitTimestamp }}'
builds:
- builder: rust
tool: cargo-zigbuild
targets:
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-musl
- x86_64-apple-darwin
- aarch64-apple-darwin
- x86_64-pc-windows-gnu
- aarch64-pc-windows-gnullvm
flags:
- --release
- --locked
checksum:
name_template: checksums.txt
changelog:
disable: true
archives:
- name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Target }}'
format_overrides:
- goos: windows
formats: [zip]
builds_info:
group: root
owner: root
mtime: '{{ .CommitDate }}'
files:
- LICENSE
- README.md
nfpms:
- file_name_template: '{{ .ConventionalFileName }}'
homepage: https://stagelint.dev
description: Run commands like linters and formatters on staged git files
maintainer: Adam Bouqdib <adam@abemedia.co.uk>
license: MIT
vendor: abemedia
section: devel
formats:
- apk
- deb
- rpm
- archlinux
mtime: '{{ .CommitDate }}'
contents:
- src: LICENSE
dst: /usr/share/doc/stagelint/copyright
homebrew_casks:
- repository:
owner: abemedia
name: homebrew-tap
homepage: https://stagelint.dev
description: Run commands like linters and formatters on staged git files
license: MIT
url:
verified: github.com/abemedia/stagelint/
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/stagelint"]
end
winget:
- publisher: abemedia
package_identifier: abemedia.stagelint
short_description: Run commands like linters and formatters on staged git files
license: MIT
homepage: https://stagelint.dev
publisher_url: https://github.com/abemedia
publisher_support_url: https://github.com/abemedia/stagelint/issues
release_notes_url: https://github.com/abemedia/stagelint/releases/tag/{{ .Tag }}
tags:
- git
- hooks
- pre-commit
- lint
- format
- linter
- formatter
- developer-tools
repository:
owner: abemedia
name: winget-pkgs
branch: stagelint-{{ .Version }}
token: '{{ .Env.PERSONAL_ACCESS_TOKEN }}'
pull_request:
enabled: true
base:
owner: microsoft
name: winget-pkgs
branch: master
scoops:
- repository:
owner: abemedia
name: scoop-bucket
directory: bucket
homepage: https://stagelint.dev
description: Run commands like linters and formatters on staged git files
license: MIT
signs:
- cmd: cosign
signature: ${artifact}.sigstore.json
output: '{{ not (isEnvSet "CI") }}'
artifacts: checksum
args:
- sign-blob
- --bundle=${signature}
- ${artifact}
- --yes