Release Minor Version
This skill automates the process of tagging a new minor release for Scribe.
Workflow
Analyze Commits & Build Changelog:
- Identify the last release tag (e.g., using
git tag --sort=-v:refname | head -n 1). - Get all commits from the last tag to
HEAD. - Analyze commit messages to categorize them into "Added", "Modified", "Fixed", or "Removed".
- Draft a new section for
CHANGELOG.mdfollowing the existing format:## <New Version> (<Date>) ### Added - [Description] ([#PR](link)) ### Modified - ...
- Identify the last release tag (e.g., using
Update Files:
- Prepend the new section to the top of the release list in
CHANGELOG.md. - Update the
public const VERSIONinsrc/Scribe.phpto the new version number.
- Prepend the new section to the top of the release list in
Commit and Push:
- Stage
CHANGELOG.mdandsrc/Scribe.php. - Commit with the message:
Bump version to <New Version>. - Push the changes to the remote repository.
- Stage
Create GitHub Release:
- Use the
ghCLI to create a new release. - Command:
gh release create <New Version> --title "<New Version>" --notes "<Changelog Content>" - Ensure the notes correspond exactly to the added changelog section.
- Use the
Converted and distributed by TomeVault — claim your Tome and manage your conversions.