Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.48 KB

File metadata and controls

28 lines (24 loc) · 1.48 KB

How to release a new EasyAdmin version

  1. Update the value of the EasyAdminBundle::VERSION constant (in the EasyAdminBundle.php file) to remove the -DEV suffix and prepare the stable release. Example: change 1.12.6-DEV to 1.12.6
  2. Commit and push the previous change.
  3. Execute the yarn encore production script to compile the CSS and JavaScript assets into src/Resources/public/. If there are any changes, commit and push them.
  4. Create the tag and sign it. Example: git tag -s v1.12.6 (the tag version is always prefixed with v, but remove it for the tag comment: 1.12.6).
  5. Push the tag to GitHub. Example: git push origin v1.12.6
  6. Prepare the changelog of the new version with the custom changelog Git 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).
  7. 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.
  8. Update again the value of the EasyAdminBundle::VERSION constant to start the development of the next version. Example: change 1.12.6 to 1.12.7-DEV

Resources

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"