Repository navigation
Closed
Labels
area/releaseVersioning, changelogs, release wiringchoreBuild, CI, packaging, refactoring with no behaviour changepackage/coreAffects EFCore.ComplexIndexespackage/postgresqlAffects EFCore.ComplexIndexes.PostgreSQLpackage/sqlserverAffects EFCore.ComplexIndexes.SqlServer
Milestone
Description
Problem
PackageReleaseNotes is not set, so the packages carry no release notes at all. A consumer on the nuget.org Release Notes tab, or in Visual Studio's Updates tab, which shows the same field, sees no notes for the version they look at.
The changelog already holds exactly that text: each package's src/<package>/CHANGELOG.md has that version's lines for the package, in the form of the root section, which is the GitHub release's notes. The changelog convention tests hold that form.
Change
- At pack: set
PackageReleaseNotesfrom the version's section of each package's ownsrc/<package>/CHANGELOG.md. A shared MSBuild target, run before the nuspec is generated, reads the section under the heading for$(Version), previews included, up to the next##. - One footer line: link the full changelog on GitHub.
- Fail closed: pack fails with a message naming the file when the section is missing or empty. Release notes over nuget.org's 35,000-character limit also fail the pack.
- Rendering: nuget.org's documentation does not say whether release notes render as Markdown. Measure it on a real package page before choosing. If they show as plain text, write
[text](url)astext (url)and drop the inline-code backticks, so a line stays readable. Write down what was measured. - Guard: a convention test packs, or reads the packed nuspec the consumer smoke test produces, and asserts that
releaseNotesequals the version's section in that form. Seed it with a wrong section and see it fail.
Done when
The packed nuspec of every package carries its version's section as release notes, and the guard fails when the section is wrong or missing.
Metadata
Metadata
Assignees
Labels
area/releaseVersioning, changelogs, release wiringchoreBuild, CI, packaging, refactoring with no behaviour changepackage/coreAffects EFCore.ComplexIndexespackage/postgresqlAffects EFCore.ComplexIndexes.PostgreSQLpackage/sqlserverAffects EFCore.ComplexIndexes.SqlServer
Activity