Skip to content

Commit 1b9eaab

Browse files
committed
Beta 1
1 parent 17ca1f6 commit 1b9eaab

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

Version.props

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
<Project>
2-
<PropertyGroup Label="Version settings">
3-
<!--
2+
<PropertyGroup Label="Version settings">
3+
<!--
44
Use the following values for the different release types:
55
- "alpha"
66
- "beta"
77
- "rc"
88
- "rtm"
99
- "servicing"
1010
-->
11-
<VersionPrefix>7.0.0</VersionPrefix>
12-
<PreReleaseVersionLabel>alpha</PreReleaseVersionLabel>
13-
<PreReleaseVersionIteration>2</PreReleaseVersionIteration>
11+
<VersionPrefix>7.0.0</VersionPrefix>
12+
<PreReleaseVersionLabel>beta</PreReleaseVersionLabel>
13+
<PreReleaseVersionIteration>1</PreReleaseVersionIteration>
1414

15-
<!--
15+
<!--
1616
The following properties will automatically be set by CI builds when appropriate:
1717
OfficialVersion
1818
ContinuousIntegrationTimestamp
1919
BuildSha
2020
-->
21-
</PropertyGroup>
21+
</PropertyGroup>
2222

23-
<!--
23+
<!--
2424
If no version or version suffix or official version has been explicitly set, we generate a version suffix in the following format:
2525
alpha.1.ci.20201004T181121Z+sha.0a1b2c3
2626
-->
27-
<PropertyGroup>
28-
<UseVersionOverride Condition="'$(Version)' != ''">true</UseVersionOverride>
29-
<UseVersionSuffixOverride Condition="'$(VersionSuffix)' != ''">true</UseVersionSuffixOverride>
30-
</PropertyGroup>
27+
<PropertyGroup>
28+
<UseVersionOverride Condition="'$(Version)' != ''">true</UseVersionOverride>
29+
<UseVersionSuffixOverride Condition="'$(VersionSuffix)' != ''">true</UseVersionSuffixOverride>
30+
</PropertyGroup>
3131

32-
<PropertyGroup Label="Version Suffix Handling" Condition="'$(UseVersionOverride)' != 'true' And '$(UseVersionSuffixOverride)' != 'true' And ('$(OfficialVersion)' == '' Or $(OfficialVersion.Contains('-')))">
33-
<VersionSuffix>$(PreReleaseVersionLabel).$(PreReleaseVersionIteration)</VersionSuffix>
34-
<VersionSuffix Condition="'$(ContinuousIntegrationTimestamp)' != ''">$(VersionSuffix).ci.$(ContinuousIntegrationTimestamp)</VersionSuffix>
35-
<VersionSuffix Condition="'$(BuildSha)' != ''">$(VersionSuffix)+sha.$(BuildSha)</VersionSuffix>
36-
</PropertyGroup>
32+
<PropertyGroup Label="Version Suffix Handling" Condition="'$(UseVersionOverride)' != 'true' And '$(UseVersionSuffixOverride)' != 'true' And ('$(OfficialVersion)' == '' Or $(OfficialVersion.Contains('-')))">
33+
<VersionSuffix>$(PreReleaseVersionLabel).$(PreReleaseVersionIteration)</VersionSuffix>
34+
<VersionSuffix Condition="'$(ContinuousIntegrationTimestamp)' != ''">$(VersionSuffix).ci.$(ContinuousIntegrationTimestamp)</VersionSuffix>
35+
<VersionSuffix Condition="'$(BuildSha)' != ''">$(VersionSuffix)+sha.$(BuildSha)</VersionSuffix>
36+
</PropertyGroup>
3737

38-
<Target Name="EnsureVersionParameters" BeforeTargets="CoreBuild" Condition="'$(UseVersionOverride)' != 'true' And '$(UseVersionSuffixOverride)' != 'true'">
39-
<Error Condition="'$(VersionPrefix)' == ''" Text="The 'VersionPrefix' property needs to be set." />
40-
<Error Condition="'$(PreReleaseVersionLabel)' == ''" Text="The 'PreReleaseVersionLabel' property needs to be set." />
41-
<Error Condition="'$(PreReleaseVersionIteration)' == ''" Text="The 'PreReleaseVersionIteration' property needs to be set." />
42-
<Error Condition="'$(OfficialVersion)' != '' And '$(OfficialVersion)' != '$(VersionPrefix)' And '$(OfficialVersion)' != '$(VersionPrefix)-$(VersionSuffix)'" Text="The 'OfficialVersion' property needs to be identical to the 'VersionPrefix' property or to a combination of the 'VersionPrefix' and the 'VersionSuffix' properties." />
43-
<!--
38+
<Target Name="EnsureVersionParameters" BeforeTargets="CoreBuild" Condition="'$(UseVersionOverride)' != 'true' And '$(UseVersionSuffixOverride)' != 'true'">
39+
<Error Condition="'$(VersionPrefix)' == ''" Text="The 'VersionPrefix' property needs to be set." />
40+
<Error Condition="'$(PreReleaseVersionLabel)' == ''" Text="The 'PreReleaseVersionLabel' property needs to be set." />
41+
<Error Condition="'$(PreReleaseVersionIteration)' == ''" Text="The 'PreReleaseVersionIteration' property needs to be set." />
42+
<Error Condition="'$(OfficialVersion)' != '' And '$(OfficialVersion)' != '$(VersionPrefix)' And '$(OfficialVersion)' != '$(VersionPrefix)-$(VersionSuffix)'" Text="The 'OfficialVersion' property needs to be identical to the 'VersionPrefix' property or to a combination of the 'VersionPrefix' and the 'VersionSuffix' properties." />
43+
<!--
4444
<Message Importance="high" Text="VersionPrefix: $(VersionPrefix)" />
4545
<Message Importance="high" Text="VersionSuffix: $(VersionSuffix)" />
4646
<Message Importance="high" Text="Version: $(Version)" />
4747
-->
48-
</Target>
48+
</Target>
4949
</Project>

0 commit comments

Comments
 (0)