should add discord notifications, in theory.
This commit is contained in:
parent
3a1d9fdfa6
commit
98fa23af78
2 changed files with 15 additions and 2 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
|
@ -5,6 +5,13 @@ on:
|
|||
tags:
|
||||
- 'v*.*.*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
issues: write
|
||||
id-token: write
|
||||
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Release
|
||||
|
|
@ -18,7 +25,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22
|
||||
go-version: stable
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
|
|
@ -28,3 +35,5 @@ jobs:
|
|||
args: release --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DISCORD_WEBHOOK_ID: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
||||
DISCORD_WEBHOOK_TOKEN: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ archives:
|
|||
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
formats: [ 'zip' ]
|
||||
files:
|
||||
- README.md
|
||||
- LICENSE
|
||||
|
|
@ -96,3 +96,7 @@ release:
|
|||
# Announce releases
|
||||
announce:
|
||||
skip: false
|
||||
discord:
|
||||
enabled: true
|
||||
message_template: "miner-cli {{.Tag}} is out! Check it out at {{ .ReleaseURL }}"
|
||||
author: "Lethean Releases"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue