-
Make certain your branch is in sync with head and then create a new release branch:
git pull origin main git switch -c version_0.2.0
-
Update version to, e.g. 0.2.0 in
dbt_ibis/__init__.py
-
Commit change and push:
git add . -u git commit -m "maint: Bump version to 0.2.0" git push
-
Merge release branch into main, make sure that all required checks pass
-
On main, build source & wheel distributions:
git checkout main git pull hatch clean # clean old builds & distributions hatch build # create a source distribution and universal wheel
-
Publish to PyPI (Requires correct PyPI owner permissions):
hatch publish
-
On main, tag the release:
git tag -a v0.2.0 -m "Version 0.2.0 release" git push origin v0.2.0
-
Build and publish docs:
hatch run doc:build-and-publish
-
Add release in https://github.com/binste/dbt-ibis/releases and select the version tag
-
Double-check that a conda-forge pull request is generated from the updated pip package by the conda-forge bot (may take up to ~an hour): https://github.com/conda-forge/dbt-ibis-feedstock/pulls
-
Update version to e.g. 0.3.0dev in
dbt_ibis/__init__.py
in new branchgit switch -c maint_0.3.0dev
-
Commit change and push:
git add . -u git commit -m "maint: Bump version to 0.3.0dev" git push
-
Merge maintenance branch into main