forked from dotnet/blazor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
version.props
16 lines (16 loc) · 1.01 KB
/
version.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<Project>
<PropertyGroup>
<!-- When editing any version prefix here, remember also to update
tooling\Microsoft.VisualStudio.BlazorExtension\Properties\AssemblyInfo.cs
to include the new version in its upper bounds -->
<IsFinalBuild>false</IsFinalBuild>
<VersionPrefix>0.7.0</VersionPrefix>
<VersionSuffix>preview1</VersionSuffix>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' == 'rtm' ">$(VersionPrefix)</PackageVersion>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' != 'rtm' ">$(VersionPrefix)-$(VersionSuffix)-final</PackageVersion>
<!-- use the build number from VSTS -->
<BuildNumber Condition="'$(BuildNumber)' == '' and '$(BUILD_BUILDNUMBER)' != ''">$(BUILD_BUILDNUMBER)</BuildNumber>
<BuildNumber Condition="'$(BuildNumber)' == ''">t000</BuildNumber>
<VersionSuffix Condition="'$(VersionSuffix)' != '' And '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
</Project>