Repository navigation
Add KeepAChangelog - #717
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Keep a Changelog support to Giraffe’s packaging/release workflow by introducing a repository CHANGELOG.md and wiring Ionide.KeepAChangelog.Tasks into the main library project, with corresponding release-process documentation updates.
Changes:
- Add
CHANGELOG.mdin Keep a Changelog format (historic entries included). - Configure
src/Giraffe/Giraffe.fsprojto useIonide.KeepAChangelog.Tasksand point it atCHANGELOG.md(also removes the hard-coded<Version>). - Update
DEVGUIDE.mdrelease steps to include updatingCHANGELOG.md.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.
| File | Description |
|---|---|
| src/Giraffe/Giraffe.fsproj | Removes explicit versioning and adds KeepAChangelog task + configuration to source metadata from CHANGELOG.md. |
| DEVGUIDE.md | Updates release process steps to maintain both RELEASE_NOTES.md and CHANGELOG.md. |
| CHANGELOG.md | Introduces a Keep a Changelog formatted changelog with prior release history. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <PropertyGroup> | ||
| <!-- Configuration for Ionide.KeepAChangelog.Tasks --> | ||
| <ChangelogFile>$(MSBuildThisFileDirectory)../../CHANGELOG.md</ChangelogFile> | ||
| </PropertyGroup> |
There was a problem hiding this comment.
Ionide.KeepAChangelog.Tasks is being added/configured here, but this project file still hard-codes PackageReleaseNotes earlier to the RELEASE_NOTES.md URL. If the goal is to let KeepAChangelog populate PackageReleaseNotes (and/or Version/PackageVersion) from CHANGELOG.md, the explicit PackageReleaseNotes value should be removed or made conditional so the generated value isn’t ignored/overridden.
There was a problem hiding this comment.
I decided to not change this configuration for now.
nojaf
left a comment
There was a problem hiding this comment.
As you have multiple projects which you submit to NuGet, you could consider having some of this stuff in Build.Directory.props.
- It's not working yet
39d6269 to
dffe5c9
Compare
* [WIP] Add CHANGELOG.md based on RELEASE_NOTES.md - It's not working yet * Add Ionide.KeepAChangelog.Tasks to Giraffe.fsproj and remove the Version metadata * Update DEVGUIDE due to KeepAChangelog * Fix CHANGELOG * Remove old tags from CHANGELOG.md * Add unreleased section to CHANGELOG * Update DEVGUIDE
Description
With this PR, I'm:
How to test
dotnet pack -v normal -c Release --include-symbols --include-source -o nupkg src/Giraffe/Giraffe.*projThen, inspect the package.
Related issues