Skip to content

Add KeepAChangelog - #717

Merged
64J0 merged 7 commits into
masterfrom
add-keepachangelog
Apr 11, 2026
Merged

64J0 merged 7 commits into
masterfrom
add-keepachangelog

Conversation

@64J0

@64J0 64J0 commented Mar 15, 2026

Copy link
Copy Markdown
Member

Description

With this PR, I'm:

How to test

dotnet pack -v normal -c Release --include-symbols --include-source -o nupkg src/Giraffe/Giraffe.*proj

Then, inspect the package.

Related issues

@64J0 64J0 self-assigned this Mar 15, 2026
@64J0
64J0 marked this pull request as ready for review March 22, 2026 01:45
@64J0 64J0 changed the title [WIP] Add KeepAChangelog Add KeepAChangelog Mar 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.md in Keep a Changelog format (historic entries included).
  • Configure src/Giraffe/Giraffe.fsproj to use Ionide.KeepAChangelog.Tasks and point it at CHANGELOG.md (also removes the hard-coded <Version>).
  • Update DEVGUIDE.md release steps to include updating CHANGELOG.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.

Comment on lines +46 to +49
<PropertyGroup>
<!-- Configuration for Ionide.KeepAChangelog.Tasks -->
<ChangelogFile>$(MSBuildThisFileDirectory)../../CHANGELOG.md</ChangelogFile>
</PropertyGroup>

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to not change this configuration for now.

Comment thread DEVGUIDE.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread DEVGUIDE.md Resolved

@nojaf nojaf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you have multiple projects which you submit to NuGet, you could consider having some of this stuff in Build.Directory.props.

@64J0
64J0 force-pushed the add-keepachangelog branch from 39d6269 to dffe5c9 Compare April 11, 2026 14:07
@64J0
64J0 merged commit f318c46 into master Apr 11, 2026
8 checks passed
@64J0
64J0 deleted the add-keepachangelog branch April 11, 2026 14:10
esbenbjerre pushed a commit to esbenbjerre/Giraffe that referenced this pull request Jun 16, 2026
* [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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use KeepAChangelog

3 participants