| name | magerun-release |
| description | Technical release process for n98-magerun2 |
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_VERSION with the new version number.
- File:
src/N98/Magento/Application.php
- Update the
version.txt with the new version number.
- Update the
CHANGELOG.md with the new version number.
- File:
CHANGELOG.md
- Ensure all changes from the git log are documented.
- Run
release-it tool.
- 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.