forked from joshdk/aws-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
63 lines (47 loc) · 1.28 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
project_name: aws-console
builds:
- id: aws-console
binary: aws-console
targets:
- darwin_amd64
- darwin_arm64
- linux_amd64
flags:
- -buildvcs=false
- -trimpath
ldflags:
- -s -w
- -buildid=
- -X jdk.sh/meta.date={{ .Date }}
- -X jdk.sh/meta.sha={{ .Commit }}
- -X jdk.sh/meta.version={{ .Tag }}
env:
- CGO_ENABLED=0
archives:
- id: aws-console
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
release:
name_template: "{{ .Tag }} Release"
prerelease: auto
checksum:
name_template: "checksums.txt"
changelog:
skip: true
brews:
- name: aws-console
tap:
owner: joshdk
name: homebrew-tap
token: "{{ .Env.HOMEBREW_GITHUB_TOKEN }}"
url_template: "https://github.com/joshdk/aws-console/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_msg_template: "feat: brew formula update for {{ .ProjectName }} {{ .Tag }}"
commit_author:
name: Josh Komoroske
email: [email protected]
folder: Formula
caveats: "Run aws-console --help for usage"
homepage: "https://github.com/joshdk/aws-console"
description: "Generate a temporary login URL for the AWS Console"
license: "MIT"
test: |
system "#{bin}/aws-console --version"