mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
add automatic update instructions to beta release notes
This commit is contained in:
parent
5d3d8e40d4
commit
5b45ae27fe
1 changed files with 4 additions and 0 deletions
4
.github/workflows/publish-beta.yml
vendored
4
.github/workflows/publish-beta.yml
vendored
|
|
@ -318,6 +318,10 @@ jobs:
|
||||||
$releaseNotes = "## Beta Release`n`nThis is a beta release."
|
$releaseNotes = "## Beta Release`n`nThis is a beta release."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Prepend beta update instructions to release notes
|
||||||
|
$betaInstructions = "To receive automatic beta updates, set the release channel to ``Beta`` under ``Advanced`` settings.`n`n"
|
||||||
|
$releaseNotes = $betaInstructions + $releaseNotes
|
||||||
|
|
||||||
# Update the release with new title and notes
|
# Update the release with new title and notes
|
||||||
Write-Host "Updating release with title 'Beta' and new notes..."
|
Write-Host "Updating release with title 'Beta' and new notes..."
|
||||||
gh release edit $tagVersion --title "Beta" --notes "$releaseNotes"
|
gh release edit $tagVersion --title "Beta" --notes "$releaseNotes"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue