|
1 | 1 | <Project> |
2 | 2 | <PropertyGroup Label="Version settings"> |
3 | 3 | <!-- |
4 | | - Use the following values for the different release types: |
5 | | - - "alpha" |
6 | | - - "beta" |
7 | | - - "rc" |
8 | | - - "rtm" |
9 | | - - "servicing" |
10 | | - --> |
| 4 | + Use the following values for the different release types: |
| 5 | + - "alpha" |
| 6 | + - "beta" |
| 7 | + - "rc" |
| 8 | + - "rtm" |
| 9 | + - "servicing" |
| 10 | + --> |
11 | 11 | <VersionPrefix>7.0.0</VersionPrefix> |
12 | | - <PreReleaseVersionLabel>beta</PreReleaseVersionLabel> |
| 12 | + <PreReleaseVersionLabel>rc</PreReleaseVersionLabel> |
13 | 13 | <PreReleaseVersionIteration>1</PreReleaseVersionIteration> |
14 | 14 |
|
15 | 15 | <!-- |
16 | | - The following properties will automatically be set by CI builds when appropriate: |
17 | | - OfficialVersion |
18 | | - ContinuousIntegrationTimestamp |
19 | | - BuildSha |
20 | | - --> |
| 16 | + The following properties will automatically be set by CI builds when appropriate: |
| 17 | + OfficialVersion |
| 18 | + ContinuousIntegrationTimestamp |
| 19 | + BuildSha |
| 20 | + --> |
21 | 21 | </PropertyGroup> |
22 | 22 |
|
23 | 23 | <!-- |
24 | | - If no version or version suffix or official version has been explicitly set, we generate a version suffix in the following format: |
25 | | - alpha.1.ci.20201004T181121Z+sha.0a1b2c3 |
| 24 | + If no version or version suffix or official version has been explicitly set, we generate a version suffix in the following format: |
| 25 | + alpha.1.ci.20201004T181121Z+sha.0a1b2c3 |
26 | 26 | --> |
27 | 27 | <PropertyGroup> |
28 | 28 | <UseVersionOverride Condition="'$(Version)' != ''">true</UseVersionOverride> |
|
41 | 41 | <Error Condition="'$(PreReleaseVersionIteration)' == ''" Text="The 'PreReleaseVersionIteration' property needs to be set." /> |
42 | 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 | 43 | <!-- |
44 | | - <Message Importance="high" Text="VersionPrefix: $(VersionPrefix)" /> |
45 | | - <Message Importance="high" Text="VersionSuffix: $(VersionSuffix)" /> |
46 | | - <Message Importance="high" Text="Version: $(Version)" /> |
47 | | - --> |
| 44 | + <Message Importance="high" Text="VersionPrefix: $(VersionPrefix)" /> |
| 45 | + <Message Importance="high" Text="VersionSuffix: $(VersionSuffix)" /> |
| 46 | + <Message Importance="high" Text="Version: $(Version)" /> |
| 47 | + --> |
48 | 48 | </Target> |
49 | 49 | </Project> |
0 commit comments