summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTina Müller <cpan2@tinita.de>2019-12-02 23:12:36 +0100
committerTina Müller <cpan2@tinita.de>2019-12-02 23:14:25 +0100
commitf1db7feb5aa5ee76de1ffa637614b3dff0fd262f (patch)
tree88988bbfdf0ffde1f0547acca57209308fa24df5
parenta5c2a043a26a6bf2787870eec9006b96ba6bca91 (diff)
downloadpyyaml-git-packaging.tar.gz
Add list of steps todo for releasingpackaging
-rw-r--r--release-steps57
1 files changed, 57 insertions, 0 deletions
diff --git a/release-steps b/release-steps
new file mode 100644
index 0000000..0303810
--- /dev/null
+++ b/release-steps
@@ -0,0 +1,57 @@
+update version number, text in:
+- announcement.msg
+- CHANGES
+- lib/__init__.py
+- lib3/__init__.py
+- setup.py
+
+ensure libyaml version is up to date in .travis.yml and .appveyor.yml
+
+commit with "changes for release X.Y"
+
+push to release branch
+
+mkdir /tmp/pyyaml-release
+cd /tmp/pyyaml-release
+mkdir work
+
+docker run -it -v$PWD/work:/work python:3.7-buster bash
+--->
+pip install cython twine
+
+git clone https://github.com/yaml/pyyaml -b (release branch)
+git clone https://github.com/yaml/libyaml -b (current branch)
+
+cd libyaml
+./bootstrap
+./configure
+make
+make test-all
+make install
+ldconfig
+
+cd ../pyyaml
+make dist PYTHON=python
+# get wheels from AppVeyor artifacts, copy to dist/
+https://ci.appveyor.com/project/nitzmahone/pyyaml-fk6n7 -> Artifacts
+twine upload dist/*
+
+cp dist/* /work/
+
+exit docker
+
+
+tag release, push tag
+
+merge to master
+
+update yaml/pyyaml.org
+
+copy all release binaries from /tmp/pyyaml-release/work to download/pyyaml
+
+* wiki/index.md News section
+* wiki/PyYAML.md History
+
+% make update
+
+push