-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
59 lines (59 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
builds:
- ldflags:
- -s -w -X "main.version={{.Env.RELEASE_VERSION}}"
main: cmd/gvs/main.go
binary: gvs
goos:
- darwin
- linux
# - windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
# ignore:
# - goos: windows
# goarch: arm
checksum:
name_template: '{{ .ProjectName }}_{{.Env.RELEASE_VERSION}}_checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
archives:
-
name_template: '{{ .ProjectName }}_{{.Env.RELEASE_VERSION}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
# format_overrides:
# - goos: windows
# format: zip
brews:
- name: gvs
commit_author:
name: Vasileios Pallas
email: [email protected]
url_template: https://github.com/VassilisPallas/gvs/releases/download/{{ .Tag }}/{{ .ArtifactName }}
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
download_strategy: CurlDownloadStrategy
folder: Formula
caveats: "Type 'gvs' on your command line and choose the Go version that you want from the dropdown. This command currently only works on macOS and Linux."
homepage: "https://github.com/VassilisPallas/gvs"
license: "MIT"
description: "A command line tool to manage multiple active Go versions."
conflicts:
- go
skip_upload: false
test: |
system "#{bin}/gvs --version"
install: |
bin.install "gvs"
repository:
owner: VassilisPallas
name: homebrew-tap
branch: main
token: "{{ .Env.GO_RELEASE_GITHUB_TOKEN }}"