Skip to content

Commit 263945a

Browse files
mmitchesafern
andauthored
[release/6.0] Fix stable builds for some transport packages (#60635)
* Fix stable builds for some transport packages Some non-shipping transport and sources packages were getting incorrectly getting stable versions. This didn't show up in the servicing excercise, though they probably did the right thing for unrelated reasons. * Fix transport package version by not using PackageVersion property on workloads-testing.targets Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
1 parent 034f191 commit 263945a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libraries/workloads-testing.targets

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<Project>
22

33
<PropertyGroup>
4-
<PackageVersion Condition="'$(StabilizePackageVersion)' == 'true'">$(ProductVersion)</PackageVersion>
4+
<_PackageVersion Condition="'$(StabilizePackageVersion)' == 'true'">$(ProductVersion)</_PackageVersion>
5+
<_PackageVersion Condition="'$(_PackageVersion)' == ''">$(PackageVersion)</_PackageVersion>
56
</PropertyGroup>
67

78
<Target Name="ProvisionSdkForWorkloadTesting"
@@ -94,7 +95,7 @@
9495

9596
<PropertyGroup>
9697
<!-- Eg. Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.browser-wasm.6.0.0-dev.nupkg -->
97-
<_AOTCrossNuGetPath>$(LibrariesShippingPackagesDir)Microsoft.NETCore.App.Runtime.AOT.$(NETCoreSdkRuntimeIdentifier).Cross.$(RuntimeIdentifier).$(PackageVersion).nupkg</_AOTCrossNuGetPath>
98+
<_AOTCrossNuGetPath>$(LibrariesShippingPackagesDir)Microsoft.NETCore.App.Runtime.AOT.$(NETCoreSdkRuntimeIdentifier).Cross.$(RuntimeIdentifier).$(_PackageVersion).nupkg</_AOTCrossNuGetPath>
9899
</PropertyGroup>
99100

100101
<Error Text="Could not find cross compiler nupkg at $(_AOTCrossNuGetPath). Found packages: @(_BuiltNuGets)"

0 commit comments

Comments
 (0)