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
- •Tool:
- •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
- •File:
- •Update the
version.txtwith the new version number.- •File:
version.txt
- •File:
- •Update the
CHANGELOG.mdwith the new version number.- •File:
CHANGELOG.md - •Ensure all changes from the git log are documented.
- •File:
- •Run
release-ittool.- •Command:
npx release-it(orvendor/bin/release-itif available via composer, but typically it's a JS tool)
- •Command: