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.

30 lines
1.0 KiB

2 months ago
  1. The following steps should be performed before releasing a new pycarl 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. 2. Update used carl version:
  8. * Update `carl_min_version` in `setup.py`
  9. 3. Check that pycarl builds without errors and all tests are successful
  10. * [Travis](https://travis-ci.org/moves-rwth/pycarl) should run successfully
  11. 4. Set new pycarl version:
  12. * Set new pycarl version in `lib/pycarl/_version.py`
  13. 5. Set new tag in git
  14. ```console
  15. git tag -a new_version
  16. git push origin new_version
  17. ```
  18. Next we push the tag to GitHub. This step requires the GitHub repo to to be configured as a remote.
  19. ```console
  20. git remote add github https://github.com/moves-rwth/pycarl.git
  21. git push github new_version
  22. ```
  23. The new tag should now be visible on [GitHub](https://github.com/moves-rwth/pycarl/tags)
  24. 6. [Add new release](https://github.com/moves-rwth/pycarl/releases/new) in GitHub