@@ -5,10 +5,7 @@ When releasing a new version, the following steps should be taken:
5
5
6
6
1. Make sure all automated tests pass.
7
7
8
- 2. Fill in the release date in ``CHANGES ``. Make sure the changelog is
9
- complete. Commit this change.
10
-
11
- 3. Make sure the package metadata in ``setup.py `` is up-to-date. You can
8
+ 2. Make sure the package metadata in ``setup.py `` is up-to-date. You can
12
9
verify the information by re-generating the egg info::
13
10
14
11
python setup.py egg_info
@@ -22,20 +19,20 @@ When releasing a new version, the following steps should be taken:
22
19
If this will produce warning or errors, PyPI will be unable to render
23
20
the long description nicely. It will treat it as plain text instead.
24
21
25
- 4 . Update the version in the VERSION _ file and report the changes in
22
+ 3 . Update the version in the VERSION _ file and report the changes in
26
23
CHANGELOG.rst _ and commit the changes.::
27
24
28
25
git commit -v -s -m "Release version X.Y.Z"
29
26
30
- 5 . Create a release tag _::
27
+ 4 . Create a release tag _::
31
28
32
29
git tag -a -s vX.Y.Z -m "Version X.Y.Z"
33
30
34
- 6 . Push these changes to Github::
31
+ 5 . Push these changes to Github::
35
32
36
33
git push --follow-tags origin vX.Y.Z
37
34
38
- 7 . Create a source and wheel distribution and upload it to PyPI::
35
+ 6 . Create a source and wheel distribution and upload it to PyPI::
39
36
40
37
# generate a source and wheel distribution at once
41
38
python setup.py sdist bdist_wheel
@@ -49,7 +46,7 @@ When releasing a new version, the following steps should be taken:
49
46
# then, upload release on official pypi.org
50
47
twine upload dist/pysaml2-X.Y.Z*
51
48
52
- 8 . Upload the documentation to PyPI. First you need to generate the html
49
+ 7 . Upload the documentation to PyPI. First you need to generate the html
53
50
version of the documentation::
54
51
55
52
cd docs/
@@ -60,7 +57,7 @@ When releasing a new version, the following steps should be taken:
60
57
61
58
Submit the generated pysaml2-docs.zip file.
62
59
63
- 9 . Send an email to the pysaml2 list announcing this release
60
+ 8 . Send an email to the pysaml2 list announcing this release
64
61
65
62
66
63
**Important: ** Once released to PyPI or any other public download location,
0 commit comments