|
8 | 8 | <PackageId>z440.atl.core</PackageId>
|
9 | 9 | <PackageVersion>6.16.0</PackageVersion>
|
10 | 10 | <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
11 |
| - <PackageTags>audio metadata tag mp3 mp4 aac id3v2 ogg vorbis opus flac playlist cue</PackageTags> |
12 |
| - <PackageLicenseUrl></PackageLicenseUrl> |
| 11 | + <PackageTags>audio;metadata;tag;mp3;mp4;aac;id3v2;ogg;vorbis;opus;flac;playlist;cue</PackageTags> |
13 | 12 | <PackageProjectUrl>https://github.com/Zeugma440/atldotnet</PackageProjectUrl>
|
| 13 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 14 | + <RepositoryType>git</RepositoryType> |
| 15 | + <RepositoryUrl>https://github.com/Zeugma440/atldotnet.git</RepositoryUrl> |
14 | 16 | <Authors>Zeugma440</Authors>
|
15 | 17 | <Product>Audio Tools Library (ATL) for .NET</Product>
|
16 |
| - <FileVersion>6.16.0.0</FileVersion> |
17 | 18 | <PackageReleaseNotes></PackageReleaseNotes>
|
18 | 19 | <Version>6.16.0</Version>
|
19 | 20 | <RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
|
20 | 21 | </PropertyGroup>
|
21 |
| - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net30|AnyCPU'"> |
22 |
| - <DebugType>full</DebugType> |
23 |
| - <DebugSymbols>true</DebugSymbols> |
24 |
| - </PropertyGroup> |
25 | 22 |
|
26 | 23 | <PropertyGroup>
|
27 | 24 | <!-- Explicitly generate Assembly Info -->
|
28 | 25 | <GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
29 | 26 | <PackageLicenseExpression>MIT</PackageLicenseExpression>
|
30 |
| - <RepositoryUrl></RepositoryUrl> |
31 |
| - <RepositoryType></RepositoryType> |
| 27 | + <Copyright>Zeugma440</Copyright> |
| 28 | + </PropertyGroup> |
| 29 | + |
| 30 | + <!-- Ensure nuget show deterministic tag as valid, https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/#deterministic-builds --> |
| 31 | + <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> |
| 32 | + <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
| 33 | + </PropertyGroup> |
| 34 | + |
| 35 | + <PropertyGroup> |
| 36 | + <DebugType>embedded</DebugType> |
| 37 | + <Deterministic>True</Deterministic> |
32 | 38 | </PropertyGroup>
|
33 | 39 |
|
| 40 | + <!-- Original / source : https://dev.to/j_sakamoto/writing-a-nuget-package-release-notes-in-an-outside-of-a-csproj-file-3f94 --> |
| 41 | + <Target Name="PreparePackageReleaseNotesFromFile" BeforeTargets="GenerateNuspec"> |
| 42 | + <ReadLinesFromFile File="../PACKAGE-RELEASE-NOTES.txt"> |
| 43 | + <Output TaskParameter="Lines" ItemName="ReleaseNoteLines" /> |
| 44 | + </ReadLinesFromFile> |
| 45 | + <PropertyGroup> |
| 46 | + <!-- Add new line character between each lines --> |
| 47 | + <PackageReleaseNotes>@(ReleaseNoteLines, '%0a')</PackageReleaseNotes> |
| 48 | + </PropertyGroup> |
| 49 | + </Target> |
| 50 | + |
34 | 51 | <ItemGroup>
|
35 | 52 | <InternalsVisibleTo Include="ATL.unit-test" />
|
36 | 53 | </ItemGroup>
|
|
68 | 85 | <LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
69 | 86 | </EmbeddedResource>
|
70 | 87 | </ItemGroup>
|
| 88 | + |
| 89 | + <ItemGroup> |
| 90 | + <!-- Include README in the nuget package --> |
| 91 | + <None Include="../README.md" Pack="true" PackagePath="/" /> |
| 92 | + |
| 93 | + <!-- Copy README to the build output directory --> |
| 94 | + <None Include="../README.md"> |
| 95 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 96 | + </None> |
| 97 | + </ItemGroup> |
71 | 98 | </Project>
|
0 commit comments