-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yml
69 lines (69 loc) · 1.61 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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: sdkman
before:
hooks:
builds:
- id: "sdk"
main: ./main.go
binary: sdk
goos:
- windows
- darwin
- linux
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
- GO111MODULE=on
ldflags:
- >
-s
-w
-X github.com/palindrom615/sdkman/cmd.version={{.Version}}
-X github.com/palindrom615/sdkman/cmd.commit={{.Commit}}
-X github.com/palindrom615/sdkman/cmd.date={{.Date}}
-X github.com/palindrom615/sdkman/cmd.builtBy=goreleaser`.
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format: tar.gz
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- tap:
owner: palindrom615
name: homebrew-tap
folder: Formula
homepage: "https://github.com/palindrom615/sdkman"
description: "A tool for managing parallel versions of multiple Software Development Kits"
scoop:
bucket:
owner: palindrom615
name: scoop-bucket
homepage: "https://github.com/palindrom615/sdkman"
license: Apache License 2.0
description: "A tool for managing parallel versions of multiple Software Development Kits"