Skip to content

Commit a37fef3

Browse files
committed
fixup! Fix load order of ProjectStaging and restrict package version validation to only official builds
1 parent d042a53 commit a37fef3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ variables:
104104
value: >-
105105
/p:DotNetPublishUsingPipelines=true
106106
- name: _OfficialBuildIdArgs
107-
value: /p:OfficialBuildId=$(BUILD.BUILDNUMBER)
107+
value: /p:OfficialBuildId=$(BUILD.BUILDNUMBER) /p:configureDotNetFinalVersionKind=true
108108
# needed for signing
109109
- name: _SignType
110110
value: real

eng/MSBuild/ProjectStaging.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
https://github.com/dotnet/arcade/blob/main/Documentation/CorePackages/Versioning.md#package-version
2222
-->
2323
<SuppressFinalPackageVersion />
24-
<SuppressFinalPackageVersion Condition=" '$(_IsStable)' != 'true' ">true</SuppressFinalPackageVersion>
24+
<SuppressFinalPackageVersion Condition=" '$(configureDotNetFinalVersionKind)' == 'true And '$(_IsStable)' != 'true' ">true</SuppressFinalPackageVersion>
2525
</PropertyGroup>
2626
</Project>

0 commit comments

Comments
 (0)