From 5d1c52a9b580d7e11cd7ec83ea987aa23dd82980 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 15 Jun 2023 17:17:02 +0100 Subject: [PATCH] Update Set-AppVersion to update manifest.v2.json --- scripts/Set-AppVersion.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Set-AppVersion.ps1 b/scripts/Set-AppVersion.ps1 index cc8a3bc1..7865e3ed 100644 --- a/scripts/Set-AppVersion.ps1 +++ b/scripts/Set-AppVersion.ps1 @@ -42,7 +42,7 @@ if ($VERSION -match '^v?[\d.]') { "`nSetting App Version to $VERSION in service-worker.js and app.js ..." (Get-Content ./service-worker.js) -replace '(appVersion\s*=\s*["''])[^"'']+', "`${1}$VERSION" | Set-Content ./service-worker.js (Get-Content ./www/js/app.js) -replace '(appVersion..\s*=\s*["''])[^"'']+', "`${1}$VERSION" | Set-Content ./www/js/app.js - $FileList = './manifest.json', './manifest.webapp', './ubuntu_touch/manifest.json' + $FileList = './manifest.json', 'manifest.v2.json', './manifest.webapp', './ubuntu_touch/manifest.json' ForEach ($File in $FileList) { $FileContent = Get-Content -Raw $File "Setting App Version to $VERSION in $File ..."