diff --git a/scripts/Build-NWJS.ps1 b/scripts/Build-NWJS.ps1 index 48483cde..7905cf70 100644 --- a/scripts/Build-NWJS.ps1 +++ b/scripts/Build-NWJS.ps1 @@ -8,7 +8,7 @@ if (-Not $only32bit) { } else { "Caller requested 32bitonly build" } -$version10 = "0.54.0" # <<< value updated automatically from package.json if launched from Create-DraftRelease +$version10 = "0.54.1" # <<< value updated automatically from package.json if launched from Create-DraftRelease $versionXP = "0.14.7" $appBuild = "1.6.0N" # <<< value updated auotmatically from package.json if launched form Create-DraftRelease $ZIMbase = "wikipedia_en_100_maxi" diff --git a/scripts/Create-DraftRelease.ps1 b/scripts/Create-DraftRelease.ps1 index f90a86bb..b24e13f5 100644 --- a/scripts/Create-DraftRelease.ps1 +++ b/scripts/Create-DraftRelease.ps1 @@ -275,7 +275,7 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') { } if ($json_nwVersion) { "Updating Build-NWJS with NWJS version from package.json: $json_nwVersion" - $script_body = $script_body -ireplace '(\$version\s*=\s*")[^"]+', "`${1}$json_nwVersion" + $script_body = $script_body -ireplace '(\$version10\s*=\s*")[^"]+', "`${1}$json_nwVersion" } $script_body = $script_body -ireplace '(appBuild\s*=\s*")[^"]+', ("`${1}$numeric_tag" + "N") $script_body = $script_body -replace '\s+$', "`n" @@ -330,7 +330,7 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') { } if ($json_nwVersion) { "Updating Build-NWJS with NWJS version from package.json: $json_nwVersion" - $script_body = $script_body -ireplace '(\$version\s*=\s*")[^"]+', "`${1}$json_nwVersion" + $script_body = $script_body -ireplace '(\$version10\s*=\s*")[^"]+', "`${1}$json_nwVersion" } $script_body = $script_body -replace '\s+$', "`n" if ($dryrun) {