SKILL.md
magerun-release
This skill describes the technical release process of the n98-magerun2 tool.
When to use
Use this skill when a new version of n98-magerun2 needs to be released.
Instructions
To release a new version, follow these steps:
- Investigate the git log to find all changes.
- Tool: git log $(git describe --tags --abbrev=0)..HEAD --oneline
- Determine the next version number.
- Follow semantic versioning (SemVer).
- Update the
\N98\Magento\Application::APP_VERSIONwith the new version number.
- File: src/N98/Magento/Application.php
- Update the
version.txtwith the new version number.
- File: version.txt
- Update the
CHANGELOG.mdwith the new version number.
- File: CHANGELOG.md - Ensure all changes from the git log are documented.
- Run
release-ittool.
- Command: npx release-it (or vendor/bin/release-it if available via composer, but typically it's a JS tool). - Ask the user to confirm the release process and follow the prompts to complete the release. The release-it call has to be done in the master branch.