mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-18 08:47:35 -04:00
Add manifest rewriting to Set-AppVersion
This commit is contained in:
parent
6ca7a613b3
commit
ab3ce3d9cb
@ -1,4 +1,5 @@
|
|||||||
# Updates the app version in all required places according to the custom value
|
# Updates the app version in all required places according to the custom value
|
||||||
|
# and then rewrites UWP manifests
|
||||||
|
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
@ -68,6 +69,7 @@ if ($VERSION -match '^v?[\d.]') {
|
|||||||
$BuildNWJSScript = $BuildNWJSScript -replace '\s+$', ''
|
$BuildNWJSScript = $BuildNWJSScript -replace '\s+$', ''
|
||||||
Set-Content -encoding "utf8BOM" ./scripts/Build-NWJS.ps1 $BuildNWJSScript
|
Set-Content -encoding "utf8BOM" ./scripts/Build-NWJS.ps1 $BuildNWJSScript
|
||||||
}
|
}
|
||||||
|
. ./scripts/Rewrite-Manifests.ps1
|
||||||
} else {
|
} else {
|
||||||
"No valid INPUT_VERSION or TAG_VERSION were provided. File version numbers were unchanged.`n"
|
"No valid INPUT_VERSION or TAG_VERSION were provided. File version numbers were unchanged.`n"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user