From b309deeacd56883472381a4a3f1c9cd1237fefae Mon Sep 17 00:00:00 2001 From: Peter Reutemann Date: Wed, 19 Jul 2023 10:28:44 +1200 Subject: [PATCH] added release instructions --- pycocotools/RELEASE.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pycocotools/RELEASE.md diff --git a/pycocotools/RELEASE.md b/pycocotools/RELEASE.md new file mode 100644 index 00000000..d26f1a01 --- /dev/null +++ b/pycocotools/RELEASE.md @@ -0,0 +1,30 @@ +PyPi +==== + +Preparation: + +* increment version in `setup.py` +* commit/push all changes + +Commands for releasing on pypi.org (requires twine >= 1.8.0): + +``` +find -name "*~" -delete +rm dist/* +./venv/bin/python setup.py clean +./venv/bin/python setup.py sdist +./venv/bin/twine upload dist/* +``` + + +Github +====== + +Steps: + +* start new release (version: `wai.pycocotools vX.Y.Z`) +* enter release notes, i.e., significant changes since last release +* upload `wai.pycocotools-X.Y.Z.tar.gz` previously generated with `setyp.py` +* publish + +