diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml index 77aef95d..5ab44470 100644 --- a/.github/workflows/publish-beta.yml +++ b/.github/workflows/publish-beta.yml @@ -320,10 +320,10 @@ jobs: $releaseNotes = "## Beta Release`n`nThis is a beta release." } - # 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" - Write-Host "Successfully updated release title to 'Beta' and added commit notes" + # Update the release with new title and notes and set as prerelease + Write-Host "Updating release with title 'Beta' and new notes and set as prerelease..." + gh release edit $tagVersion --title "Beta" --notes "$releaseNotes" --prerelease + Write-Host "Successfully updated release title to 'Beta' and added commit notes and set as prerelease" } else { Write-Host "No release found with tag $tagVersion" } diff --git a/electron-builder-beta.yml b/electron-builder-beta.yml index d564e9d6..ede84732 100644 --- a/electron-builder-beta.yml +++ b/electron-builder-beta.yml @@ -55,3 +55,4 @@ publish: owner: jeffvli repo: feishin channel: beta + releaseType: draft diff --git a/electron-builder.yml b/electron-builder.yml index 4e1e41eb..b0139214 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -55,3 +55,4 @@ publish: owner: jeffvli repo: feishin channel: latest + releaseType: draft