From 6ec9c850e802ec02e5fb89bbcc644faf982f9abf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Andr=C3=A9s=20Margffoy=20Tuay?= Date: Sat, 15 Jul 2017 12:50:54 -0500 Subject: [PATCH] Add release instructions --- RELEASE.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 RELEASE.md diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 00000000..9f19b7ed --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,47 @@ +To release a new version of pywinpty: + +## General steps + +* git fetch upstream && git merge upstream/master + +* Close release issue on github + +* Update CHANGELOG.md with loghub + +* Update VERSION_INFO in `__init__.py` (set release version, remove 'dev0') + +* git add and git commit + +* Open MSVC Command Prompt or execute msvarsall.bat script + +* set DISTUTILS_USE_SDK=1 + +* python setup.py sdist + +## Per each PY3 version (3.5/3.6) and each architecture (amd64/win32) we should do + +* conda install winpty -c spyder-ide + +* set LIBRARY_INC=\Library\include + +* set LIBRARY_LIB=\Library\lib + +* python setup.py bdist_wheel + +## Uploading wheels + +* twine upload dist\\* + +**Note:** Do not forget to update conda packages + +## Create github release + +* git tag -a vX.X.X -m 'comment' + +* Update VERSION_INFO in `__init__.py` (add 'dev0' and increment minor) + +* git add and git commit + +* git push upstream master + +* git push upstream --tags