-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Niels Bassler edited this page Nov 7, 2024
·
2 revisions
Various notes for development.
- Prepare the Codebase for Release
Make sure all tests are passing and code is ready.
Update any documentation, README, or CHANGELOG as needed.
- Commit any final updates to main.
git add .
git commit -m "Prepare for version 0.1.1 release"
git push origin main
- Tag the release in git
git tag -a v0.1.1 -m "Release version 0.1.1"
git push origin v0.1.1
- Create release on github
Go to your GitHub repository and navigate to the Releases section.
Click Draft a new release.
In Choose a tag, select the tag you just pushed (e.g., v0.1.1).
Add release notes if desired and publish the release.
- Check
After tagging, setuptools_scm will include the Git hash in your version, which you can check by running:
python dicomfix/main.py -V
dicomfix 0.1.1-gabcdef
- In case of not post-release versioning scheme but guess-next-dev
Once the release is tagged, you may want to increment the version for development. For example, if you just released 0.1.1, update to 0.1.2.dev0 by adding a line in pyproject.toml or by tagging v0.1.2.