-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
84 lines (84 loc) · 1.93 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
version: 2
project_name: baton-bitbucket-datacenter
builds:
- binary: baton-bitbucket-datacenter
env:
- CGO_ENABLED=0
id: linux
main: ./cmd/baton-bitbucket-datacenter
goos:
- linux
goarch:
- amd64
- arm64
- binary: baton-bitbucket-datacenter
env:
- CGO_ENABLED=0
id: macos-amd64
main: ./cmd/baton-bitbucket-datacenter
goos:
- darwin
goarch:
- amd64
hooks:
post:
- gon .gon-amd64.json
- mv dist/baton-bitbucket-datacenter-darwin-amd64.signed.zip dist/macos-amd64_darwin_amd64_v1/baton-bitbucket-datacenter
- binary: baton-bitbucket-datacenter
env:
- CGO_ENABLED=0
id: macos-arm64
main: ./cmd/baton-bitbucket-datacenter
goos:
- darwin
goarch:
- arm64
hooks:
post:
- gon .gon-arm64.json
- mv dist/baton-bitbucket-datacenter-darwin-arm64.signed.zip dist/macos-arm64_darwin_arm64_v8.0/baton-bitbucket-datacenter
archives:
- id: linux-archive
builds:
- linux
format: tar.gz
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
files:
- none*
- id: darwin-archive
builds:
- macos-amd64
- macos-arm64
format: binary
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}.zip"
files:
- none*
release:
ids:
- linux-archive
- darwin-archive
snapshot:
name_template: "{{ incpatch .Version }}-dev"
checksum:
ids:
- linux-archive
extra_files:
- glob: ./dist/*-darwin-amd64.zip
- glob: ./dist/*-darwin-arm64.zip
brews:
- repository:
owner: conductorone
name: homebrew-baton
directory: Formula
homepage: https://conductorone.com
test: |
system "#{bin}/baton-bitbucket-datacenter -v"
install: |-
bin.install "baton-bitbucket-datacenter"
changelog:
filters:
exclude:
- '^docs:'
- typo
- lint
- Merge pull request