-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
28 lines (26 loc) · 1.15 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
<Project>
<PropertyGroup>
<Product>Xenial</Product>
<MinVerTagPrefix>v</MinVerTagPrefix>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>preview</LangVersion>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts\nuget</PackageOutputPath>
<IncludeSource>True</IncludeSource>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Copyright>Copyright $([System.Char]::ConvertFromUtf32(169)) Xenial 2019-$([System.DateTime]::Today.ToString('yyyy'))</Copyright>
<Authors>Vertiq</Authors>
<RepositoryUrl>https://github.com/xenial-io/Xenial.RTool</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<Target Name="PreparePackageReleaseNotesFromFile" BeforeTargets="GenerateNuspec">
<ReadLinesFromFile File="$(MSBuildThisFileDirectory)CHANGELOG.md" >
<Output TaskParameter="Lines" ItemName="ReleaseNoteLines"/>
</ReadLinesFromFile>
<PropertyGroup>
<PackageReleaseNotes>@(ReleaseNoteLines, '%0a')</PackageReleaseNotes>
</PropertyGroup>
</Target>
</Project>