mirror of
https://github.com/jeffvli/feishin.git
synced 2025-12-22 05:17:05 +00:00
add automatic update instructions to beta release notes
This commit is contained in:
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."
|
||||
}
|
||||
|
||||
# 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
|
||||
Write-Host "Updating release with title 'Beta' and new notes..."
|
||||
gh release edit $tagVersion --title "Beta" --notes "$releaseNotes"
|
||||
|
||||
Reference in New Issue
Block a user