-
Notifications
You must be signed in to change notification settings - Fork 520
/
release-steps
57 lines (39 loc) · 1020 Bytes
/
release-steps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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