|
| 1 | +import os |
| 2 | +import sys |
| 3 | + |
| 4 | + |
| 5 | +def main(): |
| 6 | + os.chdir("..") |
| 7 | + |
| 8 | + print( |
| 9 | + """ |
| 10 | + Remember (before running this script!): |
| 11 | + - change version number in README.rst, setup.py, CITATION.cff and _version.py |
| 12 | + - write changelog entry in CHANGELOG.rst |
| 13 | + - test in at least CPython 3.x and Pypy3 |
| 14 | + - validate test results of Github Actions |
| 15 | + - make sure all images are optimized (for example with tinypng.com) |
| 16 | + - Make sure cffi extensions included in wheel and zip!!!! |
| 17 | + """ |
| 18 | + ) |
| 19 | + |
| 20 | + print( |
| 21 | + """ |
| 22 | + > git tag X.Y.Z |
| 23 | + > git push && git push --tags |
| 24 | + |
| 25 | + """ |
| 26 | + ) |
| 27 | + |
| 28 | + print( |
| 29 | + """ |
| 30 | + Once the release is done, remember to: |
| 31 | + - tag code on github with version |
| 32 | + - Download dists from github release |
| 33 | + - Upload files on pypi (> python -m twine upload -u __token__ dist/pymunk-6.8.0*) with correct version |
| 34 | + - Upload wasm on GitHub releases |
| 35 | + - (not needed anymore) Update Pymunk entry on pygame.org |
| 36 | + - (pr will be craeted automatically when condra forge notice the new version) Update Pymunk on conda-forge |
| 37 | + - Trigger docs build in readthedocs for www.pymunk.org |
| 38 | + - Possibly: Make release announcement at the chipmunk forum |
| 39 | + - Possibly: make release announcement on the pyglet list |
| 40 | + - Possibly: make release announcement on the pygame list |
| 41 | + - Possibly: make release announcement on the python announce list |
| 42 | + - Possibly: make release announcement on the kivy mailing list |
| 43 | + - Possibly: make PR to update pymunk in python-for-android (remember test!) |
| 44 | + """ |
| 45 | + ) |
| 46 | + os.chdir("tools") |
| 47 | + |
| 48 | + |
| 49 | +if __name__ == "__main__": |
| 50 | + sys.exit(main()) |
0 commit comments