forked from Azure/azure-signalr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
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.21.6</VersionPrefix>
<VersionPrefix Condition="'$(MSBuildProjectName)' == 'Microsoft.Azure.SignalR.Emulator'">1.1.0</VersionPrefix>
<VersionPrefix Condition="'$(MSBuildProjectName)' == 'Microsoft.Azure.SignalR.Serverless.Protocols'">1.9.0</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>