-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yaml
80 lines (79 loc) · 2.1 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
version: 2
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/git-pair/
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ldflags:
- -s -w -X {{.Env.PROJECT}}/internal/diagnostics.Version={{.Version}} -X {{.Env.PROJECT}}/internal/diagnostics.Commit={{.Commit}} -X {{.Env.PROJECT}}/internal/diagnostics.BuildDate={{.Date}}
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
aurs:
- name: git-pair-bin
description: 'A simple CLI app to make it easier for pairing for co-authoring commits'
maintainers:
- 'Malachi Soord <[email protected]>'
homepage: 'https://github.com/inverse/git-pair/'
git_url: 'ssh://[email protected]/git-pair-bin.git'
private_key: '{{ .Env.AUR_KEY }}'
license: 'MIT'
provides:
- git-pair
depends:
- git
package: |-
install -Dm755 "./git-pair" "$pkgdir/usr/bin/git-pair"
install -Dm644 "./LICENSE" "$pkgdir/usr/share/licenses/git-pair/LICENSE"
brews:
- name: git-pair
repository:
owner: inverse
name: homebrew-tap
directory: Formula
description: 'A simple CLI app to make it easier for pairing for co-authoring commits'
homepage: 'https://github.com/inverse/git-pair/'
license: MIT
test: |
system "#{bin}/git-pair --version"
nfpms:
- package_name: git-pair
vendor: inverse
homepage: 'https://github.com/inverse/git-pair/'
maintainer: 'Malachi Soord <[email protected]>'
description: 'A simple CLI app to make it easier for pairing for co-authoring commits'
license: MIT
formats:
- deb
- rpm
provides:
- git-pair
recommends:
- git
release:
draft: false
name_template: 'v{{.Version}}'
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'