A framework for measuring things and producing structured results.
honestybox-measurement
supports Python 3.5 to Python 3.8 inclusively.
pre-commit hooks are included to ensure code quality
on commit
and push
. Install these hooks like so:
$ pre-commit install && pre-commit install -t pre-push
asd
To ensure releases are always built on the latest codebase, changes are only ever merged to release
from master
.
-
Ensure that master is up to date:
$ git checkout master $ git pull origin
-
Switch to release and ensure it is up to date:
$ git checkout release $ git pull origin
-
Merge from master:
$ git merge master
-
Add a new release to
CHANGELOG.md
and include all changes in[Unreleased]
. -
Update version number in
pyproject.toml
-
Commit the changes to the
release
branch with commentRelease <version number>
$ git add CHANGELOG.md pyproject.toml $ git commit -m 'Release v<x>.<y>.<z>`
-
Tag the commit with the release number:
$ git tag v<x>.<y>.<z>
-
Push the commit and tags upstream:
$ git push && git push --tags
-
Merge changes into master and push upstream:
$ git checkout master $ git merge release $ git push
-
Install poetry
-
Checkout the release:
$ git checkout v<x>.<y>.<z>
-
Publish the release:
$ poetry publish --build