Skip to content

Commit

Permalink
update to include release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Jul 4, 2024
1 parent cce458b commit 580bd11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 4 additions & 12 deletions Graeae.Models/Graeae.Models.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
<PackageIcon>openapi.png</PackageIcon>
<RepositoryUrl>https://github.com/gregsdennis/Graeae</RepositoryUrl>
<PackageTags>openapi json schema models</PackageTags>
<PackageReleaseNotes>Edit Release notes in file RELEASE_NOTES.md in the repo root.</PackageReleaseNotes>
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/../RELEASE_NOTES.md"))</PackageReleaseNotes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<DocumentationFile>Graeae.Models.xml</DocumentationFile>
<Version>0.3.1</Version>
<FileVersion>0.3.1.0</FileVersion>
<Version>0.3.1.1</Version>
<FileVersion>0.3.1.1</FileVersion>
<AssemblyVersion>0.3.0.0</AssemblyVersion>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand All @@ -40,6 +40,7 @@
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\RELEASE_NOTES.md" Link="RELEASE_NOTES.md" />
<None Include="..\Resources\openapi.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
Expand All @@ -52,13 +53,4 @@
<PackageReference Include="JsonSchema.Net.OpenApi" Version="3.1.0" />
<PackageReference Include="Yaml2JsonNode" Version="2.1.0" />
</ItemGroup>

<Target Name="PreparePackageReleaseNotesFromFile" BeforeTargets="GenerateNuspec">
<ReadLinesFromFile File="../RELEASE-NOTES.md" >
<Output TaskParameter="Lines" ItemName="ReleaseNoteLines"/>
</ReadLinesFromFile>
<PropertyGroup>
<PackageReleaseNotes>@(ReleaseNoteLines, '%0a')</PackageReleaseNotes>
</PropertyGroup>
</Target>
</Project>
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[0.3.1](https://github.com/gregsdennis/Graeae/pull/10)

_v0.3.1.1 is a re-publish to include these release notes._

- Added `.EvaluatePayload()` extension on `OpenApiDocument`.
- Updated array members from `IEnumerable<T>` to `IReadOnlyList<T>` to enable indexer access.

Expand Down

0 comments on commit 580bd11

Please sign in to comment.