1. Validate changes since the last release
Every pull request gets added to the latest draft release automatically. Validate them on the staging server before continuing.
- Validate that each pull request in the draft release does what it's meant to:
- If it's a bug fix, check the bug linked in the PR is fixed on the staging server. If it is, add a screenshot in a comment on the bug's issue ticket so the original reporter gets notified a fix is on the way.
- If it's a new feature, make a screenshot or video of the feature working on the staging server and add it as a comment in the pull release.
- In both cases, open new issues as needed if these don't resolve the issue.
- Add the
verified
label to resolved issues if you're happy the fix is working - If you're happy to proceed, move to the next section of the guide. If not, merge PRs to address issues until you are.
- Decide the next version number by reviewing the current one
- Open a pull request from
main
intoproduction
- Title it with the next version number.
- Ensure you are doing a merge commit based merge. Do not squash or rebase, and wait for CI to pass.
- Do not update the branch using the automatically generated prompt. Github will invite you to update the branch because
production
has additional merge commits that don't exist inmain
. It's no big deal if you forget, but this just creates an unneeded extra commit that needs merging back intomain
later. - Get someone to approve the PR, then merge into production.
- Once the CI passes on the
production
branch, the patch is live. You can double check the git reference in the admin interface on the left sidebar to check this has happened.
Assuming everything is working, create a new release.
- Edit the draft release
- Give it a version number and nice description of what's changed. Refer to previous releases to get an idea how to write these.
- Match the release title to a tag with the same version number.
- Press the "Publish" button on the release.
- Email [email protected] with the patch notes.
Well done! You released a new version of PlaceCal.