This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
79 lines (68 loc) · 1.83 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
77
78
79
builds:
- id: darwin
binary: rasactl
goos:
- darwin
goarch:
- amd64
- arm64
env:
- CC=o64-clang
- CXX=o64-clang++
flags:
- -mod=readonly
ldflags:
- -s -w -X "github.com/RasaHQ/rasactl/pkg/version.VERSION={{.Env.VERSION}}"
- id: linux
binary: rasactl
goos:
- linux
goarch:
- amd64
flags:
- -mod=readonly
ldflags:
- -s -w -X "github.com/RasaHQ/rasactl/pkg/version.VERSION={{.Env.VERSION}}"
archives:
- id: rasactl
builds:
- darwin
- linux
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: "true"
files:
- README.md
- LICENSE
- completions/*
before:
hooks:
- go mod tidy
- ./scripts/completions.sh
brews:
- name: rasactl
tap:
owner: RasaHQ
name: homebrew-rasactl
token: "{{ .Env.RASABOT_GITHUB_TOKEN }}"
install: |-
bin.install "rasactl"
bash_completion.install "completions/rasactl.bash" => "rasactl"
zsh_completion.install "completions/rasactl.zsh" => "_rasactl"
fish_completion.install "completions/rasactl.fish"
test: |
system "#{bin}/rasactl --version"
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: rasabot
email: [email protected]
folder: Formula
homepage: "https://github.com/RasaHQ/rasactl"
description: "rasactl deploys Rasa X / Enterprise on your local or remote Kubernetes cluster and manages Rasa X / Enterprise deployments."
signs:
- artifacts: all
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
release:
prerelease: auto
footer: |
This release was signed with `59FD 4D71 6D9 EA15 7980 87A5 BC1A EDA3 1757 EA04E`.