Developer’s guide

Drafting new releases

Follow these steps when drafting a new release:

1. Ensure that the master branch is passing the tests and that the latest version of the documentation is properly being built.

2. Decide whether to issue a minor or a major release following this guide.

3. Update the release number accordingly in the VERSION file.

4. Update the required PyCOMPSs version in the quickstart guide if necessary.

5. Update the change log.

6. Draft a new release in Github using this template.

7. Create and tag a docker image for the release running the following at the repo’s root (change VERSION accordingly):

  • Create the image:
docker build -t bscwdc/dislib:VERSION
  • Log in and push it to dockerhub
docker login -u DOCKERHUB_USER -p DOCKERHUB_PASSWORD
docker push bscwdc/dislib:VERSION
  1. Create a pip package and upload it to PyPi:
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*