-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
76 lines (67 loc) · 1.25 KB
/
.goreleaser.yml
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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: masl
builds:
- id: default-build
main: ./cmd/masl/masl.go
goos:
- linux
- windows
goarch:
- amd64
env:
- CGO_ENABLED=0
- id: build-osx
main: ./cmd/masl/masl.go
goos:
- darwin
goarch:
- amd64
env:
- CGO_ENABLED=0
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- Merge pull request
- Merge branch
signs:
- signature: "${artifact}.dmg"
ids:
- build-osx # filter the macos only build id
cmd: gon
args:
- .gon.json
artifacts: all
archives:
- id: binaries
builds:
- build-osx
format: binary
replacements:
darwin: Darwin
- id: archives
builds:
- default-build
format_overrides:
- goos: windows
format: zip
replacements:
linux: Linux
windows: Windows
386: i386
amd64: x86_64
release:
ids:
- archives
extra_files:
- glob: ./dist/masl.dmg
brews:
- description: "Assume an AWS Role using Onelogin."
tap:
owner: glnds
name: masl