-
Notifications
You must be signed in to change notification settings - Fork 17
/
Directory.Build.props
34 lines (31 loc) · 1.64 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<Project>
<Import Project="./build/sign.props" />
<PropertyGroup>
<VersionMajor>1</VersionMajor>
<VersionMinor>9</VersionMinor>
<VersionPatch>0</VersionPatch>
<VersionRevision>0</VersionRevision>
<VersionPrefix Condition="'$(VersionRevision)'=='0'">$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
<VersionPrefix Condition="'$(VersionRevision)'!='0'">$(VersionMajor).$(VersionMinor).$(VersionPatch).$(VersionRevision)</VersionPrefix>
<VersionSuffix Condition="'$(Configuration)'=='DEBUG'">preview</VersionSuffix>
</PropertyGroup>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/WeihanLi/WeihanLi.Redis</RepositoryUrl>
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild Condition="'$(TF_BUILD)' == 'true' or '$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<Authors>WeihanLi</Authors>
<Copyright>Copyright 2017-2020 (c) WeihanLi</Copyright>
<NoWarn>$(NoWarn);NU5048;</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" PrivateAssets="All" />
</ItemGroup>
</Project>