Skip to content

Commit 0619cee

Browse files
Lagojaloreto
andauthored
Add Discord Announce to Goreleaser (#39)
Adds a Discord Announcement to Goreleaser, that will target our Releaser channel Signed-off-by: John Lago <[email protected]> ## Summary ## How was it tested? Signed-off-by: John Lago <[email protected]> Co-authored-by: Daniel Loreto <[email protected]>
1 parent 650e8fe commit 0619cee

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.goreleaser.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,39 @@ release:
3232
github:
3333
owner: jetpack-io
3434
name: devbox
35+
announce:
36+
discord:
37+
# Whether its enabled or not.
38+
# Defaults to false.
39+
enabled: true
40+
41+
# Message template to use while publishing.
42+
# Defaults to `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}`
43+
message_template: |
44+
**New Release: Devbox {{.Tag}}**
45+
We just released a version {{.Tag}} of `devbox`.
46+
47+
Description:
48+
{{.TagBody}}
49+
50+
Release: {{.ReleaseURL}}
51+
52+
Updating:
53+
If you installed devbox via our recommended installer
54+
(`curl -fsSL https://get.jetpack.io/devbox | bash`) you will get the new version
55+
_automatically_, the next time you run `devbox`
56+
57+
Thanks,
58+
jetpack.io
59+
60+
# Set author of the embed.
61+
# Defaults to `GoReleaser`
62+
author: 'jetpack.io'
63+
64+
# Color code of the embed. You have to use decimal numeral system, not hexadecimal.
65+
# Defaults to `3888754` - the grey-ish from goreleaser
66+
color: '2622553' #This is the Jetpack Space color
67+
68+
# URL to an image to use as the icon for the embed.
69+
# Defaults to `https://goreleaser.com/static/avatar.png`
70+
icon_url: ''

0 commit comments

Comments
 (0)