mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 20:32:45 -04:00
Update Create-DraftRelease.ps1
Former-commit-id: 562885c6d873cf1ceaeaef1cd38650d0e2c6de15 [formerly f6ee143c3517ddab52ecec8b9150318fbb6601dd] [formerly 2b5100eee33a7f6407c68d772479375f8b7870b5] [formerly baf9061d74beba27d100483682192d9e421a9d50 [formerly fa19d56fb76f07f71ae8133f3088cc9da2be75c4 [formerly 5b9ca29aa2b40e2f3b748409f5faf14b57ea1286]]] Former-commit-id: 25123fe348fadcf69e8eb189ffd9751a9811657f [formerly 4d99845a611c9729c25a61abca4072f1ef9c1350 [formerly 23eb7412e039dd81e2a6e39f9ce8ef10cec0e296]] Former-commit-id: 970f2b22b32c502341d431351d0e3b6a507afb1a [formerly a099d1e539e5a8db5b459b8362f398e3bf4925db] Former-commit-id: eec253d84ee4e312f987fc8848709f3b7e28dd88
This commit is contained in:
parent
4318389974
commit
b3ee9db94a
@ -312,9 +312,9 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') {
|
||||
$buildmode = "SideloadOnly"
|
||||
if ($buildstorerelease) { $buildmode = "StoreUpload" }
|
||||
# We have to rename node_modules or else msbuild won't run due to rogue dependency versions
|
||||
ren $PSScriptRoot/../node_modules $PSScriptRoot/../node_modules_electron
|
||||
ren $PSScriptRoot/../node_modules node_modules_electron
|
||||
cmd.exe /c " `"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat`" && msbuild.exe KiwixWebApp$projstub.jsproj /p:Configuration=Release /p:UapAppxPackageBuildMode=$buildmode"
|
||||
ren $PSScriptRoot/../node_modules_electron $PSScriptRoot/../node_modules
|
||||
ren $PSScriptRoot/../node_modules_electron node_modules
|
||||
}
|
||||
}
|
||||
# If we are releasing the MS Store version we have to copy it from a different location
|
||||
|
Loading…
x
Reference in New Issue
Block a user