Skip to content

Commit

Permalink
Merge pull request #10018 from keveleigh/fix-packing
Browse files Browse the repository at this point in the history
Update regex to catch dependencies
  • Loading branch information
David Kline authored Jun 23, 2021
2 parents 4ea313d + 87fc681 commit c3d43b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class UwpAppxBuildToolsTest
xmlns:mobile='http://schemas.microsoft.com/appx/manifest/mobile/windows10'
IgnorableNamespaces='uap uap2 uap3 uap4 mp mobile iot'
xmlns='http://schemas.microsoft.com/appx/manifest/foundation/windows10'>
<Identity Name='Microsoft.MixedReality.Toolkit' Publisher='CN=Microsoft' Version='2.7.1.0' />
<Identity Name='Microsoft.MixedReality.Toolkit' Publisher='CN=Microsoft' Version='2.7.2.0' />
<mp:PhoneIdentity PhoneProductId='85c8bcd4-fbac-44ed-adf6-bfc01242a27f' PhonePublisherId='00000000-0000-0000-0000-000000000000' />
<Properties>
<DisplayName>MixedRealityToolkit</DisplayName>
Expand Down
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 2.7.1
bundleVersion: 2.7.2
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
Expand Down Expand Up @@ -687,7 +687,7 @@ PlayerSettings:
m_RenderingPath: 1
m_MobileRenderingPath: 1
metroPackageName: Microsoft.MixedReality.Toolkit
metroPackageVersion: 2.7.1.0
metroPackageVersion: 2.7.2.0
metroCertificatePath: Assets/WSATestCertificate.pfx
metroCertificatePassword:
metroCertificateSubject: Microsoft
Expand Down
2 changes: 1 addition & 1 deletion pipelines/config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variables:
# match (see scripts/packaging/versionmetadata.ps1)
# ProjectSettings/ProjectSettings.asset: bundleVersion: x.x.x
# ProjectSettings/ProjectSettings.asset: metroPackageVersion: x.x.x.0
MRTKVersion: 2.7.1
MRTKVersion: 2.7.2
MRTKReleaseTag: '' # final version component, e.g. 'RC2.1' or empty string
ToolsRepoName: mixedrealitytoolkit.build
ToolsDir: $(Build.SourcesDirectory)\$(ToolsRepoName)
2 changes: 1 addition & 1 deletion scripts/packaging/createupmpackages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ foreach ($entry in $packages.GetEnumerator()) {

# Apply the version number to the package json file
$packageJsonPath = "$packagePath/package.json"
((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

Write-Output "======================="
Write-Output "Creating $scope.$product.$packageName"
Expand Down

0 comments on commit c3d43b8

Please sign in to comment.