summaryrefslogtreecommitdiff
path: root/utils/release-checklist
blob: 4ef8092e67c3d8bdc8823393fe618e4289e8d960 (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Release checklist
=================

for stable releases
-------------------

* open https://travis-ci.org/sphinx-doc/sphinx/branches and check **X.Y** branch is green
* Run `git status` and check nothing changed
* `python utils/bump_version.py X.Y.Z`
* Check diff by `git diff`
* Edit CHANGES if empty section exists
* `git commit -am 'Bump to X.Y.Z final'`
* `make clean`
* `python setup.py release bdist_wheel sdist upload --identity=[your key]`
* open https://pypi.python.org/pypi/Sphinx and check there are no obvious errors
* `git tag vX.Y.Z`
* `python utils/bump_version.py --in-develop X.Y.Zb0` (ex. 1.5.3b0)
* Check diff by `git diff`
* `git commit -am 'Bump version'`
* `git push origin X.Y --tags`
* `git checkout master`
* `git merge X.Y`
* `git push origin master`
* Update `sphinx-doc-translations <https://github.com/sphinx-doc/sphinx-doc-translations>`_
* Add new version/milestone to tracker categories
* Write announcement and send to sphinx-dev, sphinx-users and python-announce

for first beta releases
-----------------------

* open https://travis-ci.org/sphinx-doc/sphinx/branches and check **master** branch is green
* Run `git status` and check nothing changed
* Run `python setup.py extract_messages`
* Run `(cd sphinx/locale; tx push -s)`
* `python utils/bump_version.py X.Y.0b1`
* Check diff by `git diff`
* Edit CHANGES if empty section exists
* `git commit -am 'Bump to X.Y.0 beta1'`
* `make clean`
* `python setup.py release bdist_wheel sdist upload --identity=[your key]`
* open https://pypi.python.org/pypi/Sphinx and check there are no obvious errors
* `git tag vX.Y.0b1`
* `python utils/bump_version.py --in-develop X.Y.0b2` (ex. 1.6.0b2)
* Check diff by `git diff`
* `git commit -am 'Bump version'`
* `git checkout -b X.Y`
* `git push origin X.Y --tags`
* `git checkout master`
* `git merge X.Y`
* `python utils/bump_version.py --in-develop A.B.0b0` (ex. 1.7.0b0)
* Check diff by `git diff`
* `git commit -am 'Bump version'`
* `git push origin master`
* Update `sphinx-doc-translations <https://github.com/sphinx-doc/sphinx-doc-translations>`_
* Add new version/milestone to tracker categories
* Write announcement and send to sphinx-dev, sphinx-users and python-announce

for other beta releases
-----------------------

* open https://travis-ci.org/sphinx-doc/sphinx/branches and check **X.Y** branch is green
* Run `git status` and check nothing changed
* `python utils/bump_version.py X.Y.0bN`
* Check diff by `git diff`
* Edit CHANGES if empty section exists
* `git commit -am 'Bump to X.Y.0 betaN'`
* `make clean`
* `python setup.py release bdist_wheel sdist upload --identity=[your key]`
* open https://pypi.python.org/pypi/Sphinx and check there are no obvious errors
* `git tag vX.Y.0bN`
* `python utils/bump_version.py --in-develop X.Y.0bM` (ex. 1.6.0b3)
* Check diff by `git diff`
* `git commit -am 'Bump version'`
* `git push origin X.Y --tags`
* `git checkout master`
* `git merge X.Y`
* `git push origin master`
* Update `sphinx-doc-translations <https://github.com/sphinx-doc/sphinx-doc-translations>`_
* Add new version/milestone to tracker categories
* Write announcement and send to sphinx-dev, sphinx-users and python-announce

for major releases
------------------

* open https://travis-ci.org/sphinx-doc/sphinx/branches and check **X.Y** branch is green
* Run `git status` and check nothing changed
* Run `(cd sphinx/locale; tx pull -a -f)`
* Run `python setup.py compile_catalog`
* Run `git add sphinx`
* Run `git commit -am 'Update message catalogs'`
* `python utils/bump_version.py X.Y.0`
* Check diff by `git diff`
* Edit CHANGES if empty section exists
* `git commit -am 'Bump to X.Y.0 final'`
* `make clean`
* `python setup.py release bdist_wheel sdist upload --identity=[your key]`
* open https://pypi.python.org/pypi/Sphinx and check there are no obvious errors
* `git tag vX.Y.0`
* `python utils/bump_version.py --in-develop X.Y.1b0` (ex. 1.6.1b0)
* Check diff by `git diff`
* `git commit -am 'Bump version'`
* `git push origin X.Y --tags`
* `git checkout master`
* `git merge X.Y`
* `git push origin master`
* `git checkout A.B` (checkout old stable)
* Run `git tag A.B` to paste a tag instead branch
* Run `git push origin :A.B --tags` to remove old stable branch
* open https://readthedocs.org/dashboard/sphinx/versions/ and enable the released version
* Update `sphinx-doc-translations <https://github.com/sphinx-doc/sphinx-doc-translations>`_
* Add new version/milestone to tracker categories
* Write announcement and send to sphinx-dev, sphinx-users and python-announce