-
Notifications
You must be signed in to change notification settings - Fork 25
Release Process
Owen Campbell edited this page Sep 29, 2023
·
11 revisions
- You'll need to have a local copy of bump2version installed - that's probably best done using pipx:
pipx install bump2version
- Checkout the main branch and ensure it's up to date
git checkout main git pull
- Prep CHANGELOG.md
- Consider the unreleased entries to determine the 'bump' level of this release ('patch', 'minor' or 'major')
- Change the 'Unreleased' heading to the new version details and save
- Commit the change
git add . git commit -m "Prep changelog for new release"
- Bump the version
This will:
bumpversion <patch|minor|major>
- Update the
__version__
variable in all files - Commit those changes
- Create a new tag on the new commit
- Update the
- Push to github
The github actions setup in this project will then:
git push github git push github --tags
- Force push the main branch to the production master branch
- Force push the main branch to the production published branch
- Push the new tag to the production repo
- Create a new release at Gitub
- Visit the github releases page
- Click 'Draft a new release'
- Copy the content from CHANGELOG.md for the new release into the description
- Click 'Publish Release'
- Announce on Users Forum!