forked from twpayne/chezmoi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
101 lines (93 loc) · 2.05 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
project_name: chezmoi
before:
hooks:
- go mod download
builds:
- 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
# - dragonfly
# - netbsd
goarch:
- "386"
- amd64
- arm
- arm64
- ppc64
- ppc64le
goarm:
- ""
ignore:
- goos: darwin
goarch: "386"
- goos: linux
goarch: amd64
- 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
archives:
- files:
- LICENSE
- README.md
- 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"
nfpm:
vendor: "Tom Payne <twpayne@gmail.com>"
homepage: "https://github.com/twpayne/chezmoi"
maintainer: "Tom Payne <twpayne@gmail.com>"
description: "Manage your dotfiles across multiple machines, securely."
license: MIT
formats:
- deb
- rpm
dependencies:
- git
overrides:
rpm:
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Env.TRAVIS_BUILD_NUMBER }}-{{ .Arch }}"
replacements:
amd64: x86_64
386: i686
arm: armhfp
arm64: aarch64
deb:
name_template: "{{ .ProjectName }}_{{ .Version }}-{{ .Env.TRAVIS_BUILD_NUMBER }}_{{ .Os }}_{{ .Arch }}"
replacements:
386: i386
arm: armel
brew:
github:
owner: twpayne
name: homebrew-taps
commit_author:
name: Tom Payne
email: twpayne@gmail.com
folder: Formula
homepage: "https://github.com/twpayne/chezmoi"
description: "Manage your dotfiles across multiple machines, securely."