From ccf5f4740f464ba804782f16cea07c526c986990 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 20 May 2021 21:38:55 +0100 Subject: [PATCH] Update Create-DraftRelease.ps1 Former-commit-id: 9f50263db595c0c0d9f41ab29d93e054dcff3e58 [formerly 468673dd97bb0007f0a5b2e1885ed993034b8572 [formerly cc0e6dac04edf0b995976fef95f77dda774895bf]] Former-commit-id: 5473c208ccfd9f558ce2e9766c4328b78ecf65ba Former-commit-id: 17e716f837b91c6b28c1ad229dfb3021a3c1fdbf --- scripts/Create-DraftRelease.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/Create-DraftRelease.ps1 b/scripts/Create-DraftRelease.ps1 index f533b5c4..2840e601 100644 --- a/scripts/Create-DraftRelease.ps1 +++ b/scripts/Create-DraftRelease.ps1 @@ -5,6 +5,7 @@ param ( [switch]$draftonly = $false, [switch]$buildonly = $false ) +# DEV: To build Electron packages for all platforms and NWJS for XP and Vista in a single release, use, e.g., "v1.3.0E+N" (Electron + NWJS) # DEV: To build new icons, use # electron-icon-builder --input=C:\Users\geoff\Source\Repos\kiwix-js-windows\bld\icon.png --output=./bld/ # then move icons in png into /bld/icons/ @@ -235,11 +236,13 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') { $nwjs_archives = dir $nwjs_archives_path if ($nwjs_archives.count -eq 2) { "NWJS packages were correclty built." + $found = $true } else { "Oh no! The NWJS package build failed." } } else { "NWJS packages found." + $found = $true } } $ReleaseBundle = ''