Release utils (#10735)

* Examples version update

* Refactor a bit

* All version updates

* Fixes

* README cleanup

* Post-release/patch

* Fixes

* More fixes

* Tests

* More fixes

* Moar fixes

* Make commands and update setup

* Replace spaces with weird tabs

* Fix test

* Style
This commit is contained in:
Sylvain Gugger
2021-03-16 08:41:47 -04:00
committed by GitHub
parent 9f8619c6aa
commit 813d730c46
3 changed files with 280 additions and 15 deletions

View File

@@ -69,3 +69,18 @@ test-examples:
docs:
cd docs && make html SPHINXOPTS="-W -j 4"
# Release stuff
pre-release:
python utils/release.py
pre-patch:
python utils/release.py --patch
post-release:
python utils/release.py --post_release
post-patch:
python utils/release.py --post_release --patch