feat(release): announce releases on discord (#2988)

This commit is contained in:
Valentin Maerten
2026-08-21 15:31:53 +02:00
committed by GitHub
parent 30c998136d
commit 920de654cd
3 changed files with 15 additions and 0 deletions

View File

@@ -60,6 +60,8 @@ jobs:
GH_GORELEASER_TOKEN: ${{secrets.GH_GORELEASER_TOKEN}} GH_GORELEASER_TOKEN: ${{secrets.GH_GORELEASER_TOKEN}}
GORELEASER_KEY: ${{secrets.GORELEASER_KEY}} GORELEASER_KEY: ${{secrets.GORELEASER_KEY}}
CLOUDSMITH_TOKEN: ${{secrets.CLOUDSMITH_TOKEN}} CLOUDSMITH_TOKEN: ${{secrets.CLOUDSMITH_TOKEN}}
DISCORD_WEBHOOK_ID: ${{secrets.DISCORD_WEBHOOK_ID}}
DISCORD_WEBHOOK_TOKEN: ${{secrets.DISCORD_WEBHOOK_TOKEN}}
- name: Deploy Website - name: Deploy Website
shell: bash shell: bash

View File

@@ -184,3 +184,12 @@ cloudsmiths:
- "alpine/any-version" - "alpine/any-version"
component: main component: main
republish: true republish: true
announce:
skip: '{{ .IsNightly }}'
discord:
author: Task
icon_url: https://taskfile.dev/img/logo.png
# #43aba2, the primary color of the website.
color: '4434850'
message_template: '[Task {{ .Tag }}]({{ .ReleaseURL }}) — A new release is available! Check the changelog for details.'

View File

@@ -56,6 +56,10 @@ A single package manager still require manual steps:
* Trigger a new build on [Snapcraft -> Builds][snapcraftbuilds] * Trigger a new build on [Snapcraft -> Builds][snapcraftbuilds]
* Once finished, move the new build to "stable" on [Snapcraft -> Releases][snapcraftreleases] * Once finished, move the new build to "stable" on [Snapcraft -> Releases][snapcraftreleases]
Once the release is published, GoReleaser announces it on the
[Discord server](https://discord.gg/6TY36E39UK). Nightly releases are not
announced.
These package managers are updated automatically by the community: These package managers are updated automatically by the community:
* [Scoop](https://github.com/ScoopInstaller/Main/blob/master/bucket/task.json) * [Scoop](https://github.com/ScoopInstaller/Main/blob/master/bucket/task.json)