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 ..."