mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
set electron-builder publish to draft, convert to prerelease after build
This commit is contained in:
@@ -320,10 +320,10 @@ jobs:
|
|||||||
$releaseNotes = "## Beta Release`n`nThis is a beta release."
|
$releaseNotes = "## Beta Release`n`nThis is a beta release."
|
||||||
}
|
}
|
||||||
|
|
||||||
# Update the release with new title and notes
|
# Update the release with new title and notes and set as prerelease
|
||||||
Write-Host "Updating release with title 'Beta' and new notes..."
|
Write-Host "Updating release with title 'Beta' and new notes and set as prerelease..."
|
||||||
gh release edit $tagVersion --title "Beta" --notes "$releaseNotes"
|
gh release edit $tagVersion --title "Beta" --notes "$releaseNotes" --prerelease
|
||||||
Write-Host "Successfully updated release title to 'Beta' and added commit notes"
|
Write-Host "Successfully updated release title to 'Beta' and added commit notes and set as prerelease"
|
||||||
} else {
|
} else {
|
||||||
Write-Host "No release found with tag $tagVersion"
|
Write-Host "No release found with tag $tagVersion"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,3 +55,4 @@ publish:
|
|||||||
owner: jeffvli
|
owner: jeffvli
|
||||||
repo: feishin
|
repo: feishin
|
||||||
channel: beta
|
channel: beta
|
||||||
|
releaseType: draft
|
||||||
|
|||||||
@@ -55,3 +55,4 @@ publish:
|
|||||||
owner: jeffvli
|
owner: jeffvli
|
||||||
repo: feishin
|
repo: feishin
|
||||||
channel: latest
|
channel: latest
|
||||||
|
releaseType: draft
|
||||||
|
|||||||
Reference in New Issue
Block a user