forked from Azure/azure-signalr
-
Notifications
You must be signed in to change notification settings - Fork 2
/
version.props
16 lines (16 loc) · 1.28 KB
/
version.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<Project>
<PropertyGroup>
<!-- major.minor.patch[.build] -->
<VersionPrefix>1.26.2</VersionPrefix>
<VersionPrefix Condition="'$(MSBuildProjectName)' == 'Microsoft.Azure.SignalR.Emulator'">1.3.0</VersionPrefix>
<VersionPrefix Condition="'$(MSBuildProjectName)' == 'Microsoft.Azure.SignalR.Serverless.Protocols'">1.10.1</VersionPrefix>
<!-- Alphanumberic(+hyphen) string for PackageVersion and InformationalVersion-->
<VersionSuffix>preview1</VersionSuffix>
<!-- Version = VersionPrefix-VersionSuffix, for PackageVersion and AssemblyVersion -->
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' == 'rtm' ">$(VersionPrefix)</PackageVersion>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' != 'rtm' ">$(VersionPrefix)-$(VersionSuffix)-final</PackageVersion>
<BuildNumber Condition="'$(BuildNumber)' == ''">t000</BuildNumber>
<VersionSuffix Condition="'$(VersionSuffix)' != '' And '$(FeatureBranchVersionSuffix)' != ''">$(VersionSuffix)-$([System.Text.RegularExpressions.Regex]::Replace('$(FeatureBranchVersionSuffix)', '[^\w-]', '-'))</VersionSuffix>
<VersionSuffix Condition="'$(VersionSuffix)' != '' And '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
</Project>