-
Create a new branch and PR to prepare for release:
git checkout -b releaseX.Y
-
Run codespell from repo root and fix errors:
codespell -q 2
-
Make sure that all CI tests are passed with *free environments
-
Update
./requirements.txt
and./docs/requirements.txt
with CI free environments dependencies versions -
Update
./ci/requirements/py*-dev.yml
with last free environments dependencies versions -
Make sure that all CI tests are passed with *dev environments
-
Increase release version in
./setup.py
file -
Update date and release version in
./docs/whats-new.rst
-
Merge PR to master:
git checkout master
git merge releaseX.Y
-
-
On the master branch, commit the release in git:
git commit -a -m 'Release v0.X.Y'
-
Tag the release:
git tag -a v0.X.Y -m 'v0.X.Y'
-
Push it online:
git push origin v0.X.Y
-
Issue the release on GitHub. Click on "Draft a new release" at https://github.com/euroargodev/argopy/releases. Type in the version number
v0.X.Y
, and click on the auto-generate a release note button.This will trigger the publish Github action that will push the release on Pypi.