Update Create-DraftRelease.ps1

Former-commit-id: b0c044b3f98334964f28d14779bdd9e77ca7db7a [formerly 9d0658c579ddaf1e78ca4e820fdeb25a97158cef [formerly 2298c7b7f7780fab500a70190552e7bbcc8d2780]]
Former-commit-id: e2ef568463c188d344a03ec12d4938275065b146
Former-commit-id: 08bfcac58f9181415827472cae9f50620a58022b
This commit is contained in:
Jaifroid 2021-06-13 22:23:20 +01:00
parent b413fa3ac0
commit e9f4925a40

View File

@ -494,7 +494,7 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') {
if ($respondtowingetprompt) {
$wingetcreate_check = $respondtowingetprompt
} else {
$wingetcreate_check = Read-Host "Would you like to update the WinGet repository with this new build? [Y/N]"
$wingetcreate_check = Read-Host "Would you like to update the WinGet repository with this new build?`nWARNING: be sure you have published the draft release (if in doubt answer N)! [Y/N]"
}
$wingetcreate_check = -Not ( $wingetcreate_check -imatch 'n' )
if ($wingetcreate_check) {