mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-08 19:57:46 -04:00
Update Create-DraftRelease.ps1
Former-commit-id: f3bfae16afa62fdf461a6160c4f8d12676bcaf3a [formerly 1420121030a1eda83f6e28a62f906b8169b277f2] [formerly af1f50c9c2813900a2bd868e6ca63eb2e0560bff] [formerly 2648ab94445c16cd308d8d9c86279d6bd51fddb9 [formerly 1a26751a44ee119854bb3cf6be1277ac08f49dd2 [formerly 21e18c7cf136f7ba924db3bf570e8fe7798652fb]]] Former-commit-id: bd4fe782a35db8c0a9eca9a36f266f022f282c82 [formerly 0b2abafe5b4f255380537dfa3f1282a5a75a87f3 [formerly 1fd86548da24e0d50f92dccfe49b1f202ded9209]] Former-commit-id: e284b3664c653ffa5291082adcab98c0f3172947 [formerly 9abc4db543382e4d969ab6220a848a0587ac1b16] Former-commit-id: 6df02a4d5e157616913a7e5571923796a53d4c7f
This commit is contained in:
parent
4158d597a7
commit
0d1723c523
@ -272,7 +272,8 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') {
|
||||
} else {
|
||||
"`n**WARNING: The app manifest is not correct for building an app for release on GitHub! Please associate the app with 'Association Kiwix' in Visual Studio and try again"
|
||||
"or else run this script with the flag -buildstorerelease`n"
|
||||
return
|
||||
if (-Not $dryrun) { return }
|
||||
else { "App would exit now if not dryrun.`n" }
|
||||
}
|
||||
} else {
|
||||
"`nBe aware that the version you are building is good for public release on GitHub, but not for upload to the Microsoft Store."
|
||||
@ -328,7 +329,8 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') {
|
||||
} else {
|
||||
"WARNING: You requested a release valid for the MS Store, but the app manifest is not associated with the Store! We cannot build a Store release."
|
||||
"Please associate the app with the MS Store in Visual Studio, save the manifest, and try again."
|
||||
return
|
||||
if (-Not $dryrun) { return }
|
||||
else { "`nApp would exit now if not dryrun.`n" }
|
||||
}
|
||||
if (-Not $buildonly) {
|
||||
"** You can use the appxupload to submit to the Store, but we won't release..."
|
||||
@ -340,7 +342,8 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') {
|
||||
"Using locally signed release."
|
||||
} else {
|
||||
"**WARNING: The app manifest is not correct for building an app for release on GitHub! Please associate the app with 'Association Kiwix' in Visual Studio and try again."
|
||||
return
|
||||
if (-Not $dryrun) { return }
|
||||
else { "`nApp would exit now if not dryrun.`n" }
|
||||
}
|
||||
}
|
||||
$ReleaseBundle = dir "$PSScriptRoot/../AppPackages/*_$base_tag*_Test/*_$base_tag*.appx*"
|
||||
|
Loading…
x
Reference in New Issue
Block a user