From b85371a003b25391f57894293583b91e64722b99 Mon Sep 17 00:00:00 2001 From: Guillem Frances Date: Wed, 17 Jul 2019 15:23:21 +0200 Subject: [PATCH] Preparing for release v0.2.0 --- doc/releasing.md | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/doc/releasing.md b/doc/releasing.md index 3eb9fd2a..240a3318 100644 --- a/doc/releasing.md +++ b/doc/releasing.md @@ -8,19 +8,28 @@ First, make sure you are on the master branch and on the right commit. 1. Update the `CHANGELOG.md` file. 1. Update the version number in `src/tarski/version.py` 1. Commit and tag the release. -1. Run the following instructions from the root directory of the project: + export TARSKI_RELEASE="v0.2.0" + git commit -am "Preparing for release ${TARSKI_RELEASE}" + git tag -a v0.2.0 -m "Tarski release ${TARSKI_RELEASE}" + + +1. Run the following instructions from the root directory of the project: - python3 -m pip install --upgrade twine setuptools wheel # (optional) + python3 -m pip install --upgrade twine setuptools wheel # (optional) - rm -rf dist/ - python3 setup.py sdist bdist_wheel + rm -rf dist/ + python3 setup.py sdist bdist_wheel - # Test first (result will go to https://test.pypi.org/project/tarski/): - python3 -m twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/* + # Test first (result will go to https://test.pypi.org/project/tarski/): + python3 -m twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/* - # Then go! - python3 -m twine upload --skip-existing dist/* + # Then go! + python3 -m twine upload --skip-existing dist/* + +1. Push all code changes plus the tag to the repo: + git push && git push ${TARSKI_RELEASE} +1. Upload a tarball to the [Github releases page](https://github.com/aig-upf/tarski/releases).