Script to create a Changelog.md entry from files in .changelog#1335
Draft
Script to create a Changelog.md entry from files in .changelog#1335
Conversation
Signed-off-by: Jose Luis Rivero <jrivero@honurobotics.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Still a work in progress. Part of #246.
The script consumes entries in the a .changelog/ directory and generates a Changelog.md modification. It can not bump the version yet.
In a test run on the gz-test repository. This is the initial files:
gz-test on jrivero/changelogs [!] via △ v3.28.3 ❯ ls .changelog/ fix-bug-entry.md new-feature.md update-license.md (comming from PR2)The run founds the commits and the PRs that belongs to the commits in any:
The deleted files and the modified changelog:
gz-test on jrivero/changelogs [✘!] via △ v3.28.3 ❯ git status On branch jrivero/changelogs Changes to be committed: (use "git restore --staged <file>..." to unstage) deleted: .changelog/fix-bug-entry.md deleted: .changelog/new-feature.md deleted: .changelog/update-license.md Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: Changelog.mdAnd the generated changelog diff:
AI-Helper-TooL: co-pilot using Anthropic Sonnet 4.0.