File tree 1 file changed +2
-1
lines changed
src/Microsoft.DotNet.Arcade.Sdk/tools
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 112
112
<_PreReleaseLabel Condition =" '$(SemanticVersioningV1)' != 'true' and '$(PreReleaseVersionIteration)' != ''" >$(PreReleaseVersionLabel).$(PreReleaseVersionIteration)</_PreReleaseLabel >
113
113
<_PreReleaseLabel Condition =" '$(SemanticVersioningV1)' == 'true'" >$(PreReleaseVersionLabel)$(PreReleaseVersionIteration)</_PreReleaseLabel >
114
114
<_PreReleaseLabel Condition =" '$(ContinuousIntegrationBuild)' == 'true' and '$(OfficialBuild)' != 'true'" >ci</_PreReleaseLabel >
115
- <_PreReleaseLabel Condition =" '$(ContinuousIntegrationBuild)' != 'true'" >dev</_PreReleaseLabel >
115
+ <!-- Allow a non CI build to have an official build version label when OfficialBuild is explicitly passed-in. -->
116
+ <_PreReleaseLabel Condition =" '$(ContinuousIntegrationBuild)' != 'true' and '$(OfficialBuild)' != 'true'" >dev</_PreReleaseLabel >
116
117
117
118
<_BuildNumberLabels Condition =" '$(VersionSuffixDateStamp)' != '' and '$(SemanticVersioningV1)' != 'true'" >.$(VersionSuffixDateStamp).$(VersionSuffixBuildOfTheDay)</_BuildNumberLabels >
118
119
<_BuildNumberLabels Condition =" '$(VersionSuffixDateStamp)' != '' and '$(SemanticVersioningV1)' == 'true'" >-$(VersionSuffixDateStamp)-$(VersionSuffixBuildOfTheDayPadded)</_BuildNumberLabels >
You can’t perform that action at this time.
0 commit comments