You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.4 KiB

  1. The following steps should be performed before releasing a new stormpy version.
  2. 1. Update `CHANGELOG.md`
  3. * To get all the commits from an author since the last tag execute:
  4. ```console
  5. git log last_tag..HEAD --author "author_name"
  6. ```
  7. * Set release month
  8. 2. Update used tool versions:
  9. * Update `storm_min_version` in `setup.py`
  10. * Update `install_requires` version of pycarl in `setup.py`
  11. 3. Check that stormpy builds without errors and all tests are successful
  12. * [Travis](https://travis-ci.org/moves-rwth/stormpy) should run successfully
  13. 4. Set new stormpy version:
  14. * Set new stormpy version in `lib/stormpy/_version.py`
  15. 5. Set new tag in git
  16. ```console
  17. git tag -a new_version
  18. git push origin new_version
  19. ```
  20. Next we push the tag to GitHub. This step requires the GitHub repo to to be configured as a remote.
  21. ```console
  22. git remote add github https://github.com/moves-rwth/stormpy.git
  23. git push github new_version
  24. ```
  25. The new tag should now be visible on [GitHub](https://github.com/moves-rwth/stormpy/tags).
  26. 6. [Add new release](https://github.com/moves-rwth/stormpy/releases/new) in GitHub.
  27. 7. Create new python package for release on [Pypi](https://pypi.org/project/stormpy/):
  28. ```console
  29. python3 setup.py sdist
  30. python3 -m pip install --user --upgrade twine
  31. python3 -m twine upload dist/*
  32. ```
  33. 8. Create [Docker containers](https://hub.docker.com/r/movesrwth/stormpy) for new version.