-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.goreleaser.yml
74 lines (69 loc) · 1.89 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# GoReleaser config documentation at http://goreleaser.com
builds:
- env:
- CGO_ENABLED=0 # don't link against any C headers
goos: # build for these operating systems:
- linux
- windows
- darwin
goarch:
- "386"
- arm64
- amd64
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms: # see https://goreleaser.com/customization/nfpm/
# see also https://github.com/goreleaser/nfpm
- maintainer: "Steven Kalt <[email protected]>"
homepage: &homepage "https://github.com/skalt/git-cc"
description: &description "A git extension to help write conventional commits."
license: &license "Polyform-Free-Trial-1.0.0 OR Polyform-Noncommercial-1.0.0 OR COMMERCIAL"
# symlinks:
# /usr/local/bin/git-conventional-commit: /usr/local/bin/git-cc
dependencies: &dependencies
- git
formats:
- deb
- rpm
- archlinux
# it'd be neat to have nix, npm, gem, and pypi packages as well!
provides:
- git-cc
brews: # see https://goreleaser.com/customization/homebrew/
- homepage: *homepage
license: *license
description: *description
repository:
owner: skalt
name: homebrew-git-cc
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
download_strategy: CurlDownloadStrategy
test: |
system "#{bin}/git-cc --version"
dependencies:
- name: git
scoops: # see https://goreleaser.com/customization/scoop/
- name: git-cc
homepage: *homepage
description: *description
license: *license
repository:
owner: skalt
name: scoop-git-cc
branch: main
token: "{{ .Env.SCOOP_GITHUB_TOKEN }}"
depends: *dependencies