Skip to content

Commit

Permalink
Add Discord Announce to Goreleaser (#39)
Browse files Browse the repository at this point in the history
Adds a Discord Announcement to Goreleaser, that will target our Releaser channel

Signed-off-by: John Lago <750845+Lagoja@users.noreply.github.com>

## Summary

## How was it tested?

Signed-off-by: John Lago <750845+Lagoja@users.noreply.github.com>
Co-authored-by: Daniel Loreto <279789+loreto@users.noreply.github.com>
  • Loading branch information
Lagoja and loreto committed Aug 30, 2022
1 parent 650e8fe commit 0619cee
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,39 @@ release:
github:
owner: jetpack-io
name: devbox
announce:
discord:
# Whether its enabled or not.
# Defaults to false.
enabled: true

# Message template to use while publishing.
# Defaults to `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}`
message_template: |
**New Release: Devbox {{.Tag}}**
We just released a version {{.Tag}} of `devbox`.
Description:
{{.TagBody}}
Release: {{.ReleaseURL}}
Updating:
If you installed devbox via our recommended installer
(`curl -fsSL https://get.jetpack.io/devbox | bash`) you will get the new version
_automatically_, the next time you run `devbox`
Thanks,
jetpack.io
# Set author of the embed.
# Defaults to `GoReleaser`
author: 'jetpack.io'

# Color code of the embed. You have to use decimal numeral system, not hexadecimal.
# Defaults to `3888754` - the grey-ish from goreleaser
color: '2622553' #This is the Jetpack Space color

# URL to an image to use as the icon for the embed.
# Defaults to `https://goreleaser.com/static/avatar.png`
icon_url: ''

0 comments on commit 0619cee

Please sign in to comment.