forked from twpayne/chezmoi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
167 lines (157 loc) · 3.94 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
project_name: chezmoi
before:
hooks:
- go mod download
builds:
- id: chezmoi-cgo
binary: chezmoi
ldflags: "-s -w -X github.com/twpayne/chezmoi/cmd.VersionStr={{ .Version }} -X github.com/twpayne/chezmoi/cmd.Commit={{ .Commit }} -X github.com/twpayne/chezmoi/cmd.Date={{ .Date }}"
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
- id: chezmoi-nocgo
binary: chezmoi
env:
- CGO_ENABLED=0
ldflags: "-s -w -X github.com/twpayne/chezmoi/cmd.VersionStr={{ .Version }} -X github.com/twpayne/chezmoi/cmd.Commit={{ .Commit }} -X github.com/twpayne/chezmoi/cmd.Date={{ .Date }}"
goos:
- linux
- darwin
- freebsd
- openbsd
- windows
goarch:
- "386"
- amd64
- arm
- arm64
- ppc64
- ppc64le
goarm:
- ""
ignore:
- goos: darwin
goarch: "386"
- goos: linux
goarch: amd64
- id: chezmoi-cgo-snap
binary: chezmoi
flags:
- -tags=snap
ldflags: "-s -w -X github.com/twpayne/chezmoi/cmd.VersionStr={{ .Version }} -X github.com/twpayne/chezmoi/cmd.Commit={{ .Commit }} -X github.com/twpayne/chezmoi/cmd.Date={{ .Date }}"
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
- id: chezmoi-nocgo-snap
binary: chezmoi
flags:
- -tags=snap
ldflags: "-s -w -X github.com/twpayne/chezmoi/cmd.VersionStr={{ .Version }} -X github.com/twpayne/chezmoi/cmd.Commit={{ .Commit }} -X github.com/twpayne/chezmoi/cmd.Date={{ .Date }}"
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- "386"
- arm64
archives:
- builds:
- chezmoi-cgo
- chezmoi-nocgo
files:
- LICENSE
- README.md
- completions/*
- docs/*
replacements:
386: i386
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "Merge pull request"
- "Merge branch"
nfpms:
- builds:
- chezmoi-cgo
- chezmoi-nocgo
vendor: "Tom Payne <[email protected]>"
homepage: "https://github.com/twpayne/chezmoi"
maintainer: "Tom Payne <[email protected]>"
description: "Manage your dotfiles across multiple machines, securely."
license: MIT
formats:
- deb
- rpm
dependencies:
- git
bindir: "/usr/bin"
files:
"completions/chezmoi-completion.bash": "/usr/share/bash-completion/completions/chezmoi"
"completions/chezmoi.fish": "/usr/share/fish/completions/chezmoi.fish"
overrides:
rpm:
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Env.TRAVIS_BUILD_NUMBER }}-{{ .Arch }}"
replacements:
amd64: x86_64
386: i686
arm: armhfp
arm64: aarch64
files:
"completions/chezmoi.zsh": "/usr/share/zsh/functions/_chezmoi"
deb:
name_template: "{{ .ProjectName }}_{{ .Version }}-{{ .Env.TRAVIS_BUILD_NUMBER }}_{{ .Os }}_{{ .Arch }}"
replacements:
386: i386
arm: armel
files:
"completions/chezmoi.zsh": "/usr/share/zsh/vendor-completions/_chezmoi"
brews:
- github:
owner: twpayne
name: homebrew-taps
commit_author:
name: Tom Payne
email: [email protected]
folder: Formula
homepage: "https://github.com/twpayne/chezmoi"
install: |
bin.install "chezmoi"
bash_completion.install "completions/chezmoi-completion.bash"
zsh_completion.install "completions/chezmoi.zsh" => "_chezmoi"
fish_completion.install "completions/chezmoi.fish"
description: "Manage your dotfiles across multiple machines, securely."
scoop:
bucket:
owner: twpayne
name: scoop-bucket
commit_author:
name: Tom Payne
email: [email protected]
homepage: "https://github.com/twpayne/chezmoi"
description: "Manage your dotfiles across multiple machines, securely."
license: MIT
snapcrafts:
- builds:
- chezmoi-cgo-snap
- chezmoi-nocgo-snap
summary: "Manage your dotfiles across multiple machines, securely."
description: "Manage your dotfiles across multiple machines, securely."
publish: true
grade: stable
confinement: classic
apps:
chezmoi:
completer: completions/chezmoi-completion.bash