mirror of
https://github.com/go-task/task.git
synced 2026-08-29 01:58:56 +02:00
feat(release): announce releases on discord (#2988)
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -60,6 +60,8 @@ jobs:
|
||||
GH_GORELEASER_TOKEN: ${{secrets.GH_GORELEASER_TOKEN}}
|
||||
GORELEASER_KEY: ${{secrets.GORELEASER_KEY}}
|
||||
CLOUDSMITH_TOKEN: ${{secrets.CLOUDSMITH_TOKEN}}
|
||||
DISCORD_WEBHOOK_ID: ${{secrets.DISCORD_WEBHOOK_ID}}
|
||||
DISCORD_WEBHOOK_TOKEN: ${{secrets.DISCORD_WEBHOOK_TOKEN}}
|
||||
|
||||
- name: Deploy Website
|
||||
shell: bash
|
||||
|
||||
@@ -184,3 +184,12 @@ cloudsmiths:
|
||||
- "alpine/any-version"
|
||||
component: main
|
||||
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.'
|
||||
|
||||
@@ -56,6 +56,10 @@ A single package manager still require manual steps:
|
||||
* Trigger a new build on [Snapcraft -> Builds][snapcraftbuilds]
|
||||
* 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:
|
||||
|
||||
* [Scoop](https://github.com/ScoopInstaller/Main/blob/master/bucket/task.json)
|
||||
|
||||
Reference in New Issue
Block a user