-
Notifications
You must be signed in to change notification settings - Fork 18
/
version.props
21 lines (21 loc) · 1.11 KB
/
version.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Project>
<ItemGroup Condition="$(NBGV_PublicRelease) != 'True' AND '$(CODEQL_RUNNER)' == ''">
<!-- Note: Keep Version 3.2.31, it is known working for 4 digit versioning -->
<PackageReference Include="Nerdbank.GitVersioning" Condition="!Exists('packages.config')">
<Version>3.4.255</Version>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup Condition="'$(NBGV_PublicRelease)' == 'True'">
<Version>$(NBGV_Version)$(NBGV_PrereleaseVersion)</Version>
<VersionPrefix>$(NBGV_SimpleVersion)</VersionPrefix>
<VersionSuffix>$(NBGV_VersionRevision)$(NBGV_PrereleaseVersion)</VersionSuffix>
<AssemblyVersion>$(NBGV_SimpleVersion)</AssemblyVersion>
<FileVersion>$(NBGV_Version)</FileVersion>
<PackageVersion>$(NBGV_Version)$(NBGV_PrereleaseVersion)</PackageVersion>
</PropertyGroup>
</Project>