Skip to content

How to craft a release

Maria Fisher edited this page Sep 20, 2023 · 6 revisions

After all work is QAed and merged to the main branch, cut a release on the main branch by:

  1. Checking out the main branch (on the wri/wri_sites repo):
git checkout main
git pull
  1. Adding a tag (create one higher than the highest at https://github.com/wri/wri_sites/tags):
git tag -a "9.0.X" -m "Release 9.0.X - bug fixes, etc"
git push --tags
  1. (Optional) Crafting a release from the tag by visiting https://github.com/wri/wri_sites/releases/new and finding the tag you just created.

Upstream repos can now pull down the latest release by running composer require wri/wri_sites. It may take up to 10 minutes for packagist to see the new release.

Clone this wiki locally