We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea313d commit 90fed1bCopy full SHA for 90fed1b
scripts/packaging/createupmpackages.ps1
@@ -159,7 +159,7 @@ foreach ($entry in $packages.GetEnumerator()) {
159
160
# Apply the version number to the package json file
161
$packageJsonPath = "$packagePath/package.json"
162
- ((Get-Content -Path $packageJsonPath -Raw) -Replace '("version\": )"([0-9.]+-?[a-zA-Z0-9.]*|%version%)', "`$1`"$Version") | Set-Content -Path $packageJsonPath -NoNewline
+ ((Get-Content -Path $packageJsonPath -Raw) -Replace '("version": |"com\.microsoft\.mixedreality\.toolkit\.\w+": )"([0-9.]+-?[a-zA-Z0-9.]*|%version%)', "`$1`"$Version") | Set-Content -Path $packageJsonPath -NoNewline
163
164
Write-Output "======================="
165
Write-Output "Creating $scope.$product.$packageName"
0 commit comments