Skip to content

Commit ef0a2fa

Browse files
author
Greg Guthe
committed
docs: add vendorverify and artifact verification to release process
1 parent 5992266 commit ef0a2fa

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

docs/dev.rst

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@ Release process
7676
$ cd docs/
7777
$ make doctest
7878

79-
4. Verify everything works
79+
4. Verify the local vendored files (the second invocation should **not** exit with ``/tmp/vendor-test exists. Please remove.`` and the exit code should be zero)::
80+
81+
$ ./scripts/run_tests.sh vendorverify
82+
$ ./scripts/run_tests.sh vendorverify
83+
84+
5. Run any additional tests to verify everything else works
8085

8186
6. Commit the changes.
8287

@@ -92,14 +97,20 @@ Release process
9297

9398
$ python setup.py sdist bdist_wheel
9499

95-
10. Upload them to PyPI::
100+
10. Sanity check the release contents and sizes:
101+
102+
$ ls -lh dist/* # file sizes should be similar
103+
$ tar tvzf dist/bleach-${VERSION}.tar.gz
104+
$ unzip -v dist/bleach-${VERSION}-py2.py3-none-any.whl
105+
106+
11. Upload them to PyPI::
96107

97108
$ twine upload dist/*
98109

99-
11. Push the new tag::
110+
12. Push the new tag::
100111

101112
$ git push --tags official master
102113

103114
That will push the release to PyPI.
104115

105-
12. Blog posts, twitter, etc.
116+
13. Blog posts, twitter, etc.

0 commit comments

Comments
 (0)