-
Notifications
You must be signed in to change notification settings - Fork 16
Release
Jonas Kittner edited this page Mar 10, 2022
·
1 revision
- Make sure all issues and pull requests are addressed, that should go into this version
- Checkout the default branch
git checkout main
- Pull changes from the default branch
git pull --prune
- Bump the version in
setup.cfg
diff --git a/setup.cfg b/setup.cfg
index 5d42c6c..f270632 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = w2w
-version = v0.1.1
+version = v0.2.0
description = A python tool that ingests WUDAPT's Local Climate Zone information into WRF.
long_description = file: README.md
long_description_content_type = text/markdown
- Commit the changes with the following commit
git add setup.cfg
git commit -m "v0.2.0"
- Create a new tag for the release
git tag v0.2.0
- Build a source- and binary distribution
python setup.py sdist bdist_wheel
- Run
tox
one last time to make sure all tests pass
tox
- Upload to PyPi
twine upload dist/*
- Push the new release commit and tag directly to the default branch
git push origin HEAD --tags
- Check everything is okay ony PyPi