-
Notifications
You must be signed in to change notification settings - Fork 44
/
.goreleaser.yaml
101 lines (90 loc) · 2.18 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: bk
version: 2
release:
name_template: Buildkite CLI {{.Version}}
draft: true
replace_existing_draft: true
prerelease: auto
make_latest: false
mode: replace
changelog:
use: github
brews:
- name: bk@3
ids:
- macos-archive
- linux-archive
directory: .
homepage: https://github.com/buildkite/cli
description: Work with Buildkite from the command-line
license: MIT
skip_upload: false
test: system "#{bin}/bk version"
repository:
owner: buildkite
name: homebrew-buildkite
branch: master
builds:
- id: macos
goos: [darwin]
goarch: [amd64, arm64]
binary: bk
main: ./cmd/bk
ldflags:
- -s -w -X github.com/buildkite/cli/v3/internal/version.Version={{.Version}}
- id: linux
goos: [linux]
goarch: ['386', arm, amd64, arm64]
env:
- CGO_ENABLED=0
binary: bk
main: ./cmd/bk
ldflags:
- -s -w -X github.com/buildkite/cli/v3/internal/version.Version={{.Version}}
- id: windows
goos: [windows]
goarch: ['386', amd64, arm64]
binary: bk
main: ./cmd/bk
ldflags:
- -s -w -X github.com/buildkite/cli/v3/internal/version.Version={{.Version}}
archives:
- id: macos-archive
builds: [macos]
name_template: "bk_{{ .Version }}_macOS_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: true
format: zip
files:
- LICENSE.md
- README.md
- id: linux-archive
builds: [linux]
name_template: "bk_{{ .Version }}_linux_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: true
format: tar.gz
files:
- LICENSE.md
- README.md
- id: windows-archive
builds: [windows]
name_template: "bk_{{ .Version }}_windows_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: false
format: zip
files:
- LICENSE.md
- README.md
nfpms:
- builds:
- linux
vendor: Buildkite
homepage: https://buildkite.com
maintainer: Buildkite <[email protected]>
description: A command line interface for Buildkite.
license: MIT
formats:
- apk
- deb
- rpm
provides:
- bk
# vim: set ts=2 sw=2 tw=0 fo=cnqoj