- Update the value of the
EasyAdminBundle::VERSIONconstant (in theEasyAdminBundle.phpfile) to remove the-DEVsuffix and prepare the stable release. Example: change1.12.6-DEVto1.12.6 - Commit and push the previous change.
- Execute the
yarn encore productionscript to compile the CSS and JavaScript assets intosrc/Resources/public/. If there are any changes, commit and push them. - Create the tag and sign it. Example:
git tag -s v1.12.6(the tag version is always prefixed withv, but remove it for the tag comment:1.12.6). - Push the tag to GitHub. Example:
git push origin v1.12.6 - Prepare the changelog of the new version with the custom
changelogGit command. Example:git changelog v1.12.5(the version passed to the command is the previous version used as a reference to list the changes). - Go to https://github.com/javiereguiluz/EasyAdminBundle/releases and click
on
Draft a new release. Select the tag pushed before and paste the changelog contents. - Update again the value of the
EasyAdminBundle::VERSIONconstant to start the development of the next version. Example: change1.12.6to1.12.7-DEV
The custom changelog Git command used to generate the version changelog can
be defined as a global Git alias:
$ git config --global alias.changelog "!f() { git log $1...$2 --pretty=format:'[%h] %s' --reverse; } ; f"