Skip to content

Commit 15cc0d0

Browse files
committed
Tell how to release.
1 parent 6590ea0 commit 15cc0d0

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,22 @@ To avoid false positives, some rules are skipped if we're in a table.
4242

4343
## Releasing
4444

45-
One should use the `download-more-tests.sh` script before running tests
46-
before releasing, to avoid creating a release introducing false
47-
positives.
45+
First test with friends projects by running:
46+
47+
sh download-more-tests.sh
48+
python -m pytest
49+
50+
Bump the version in `sphinxlint.py`, commit, tag, push:
51+
52+
git tag v0.6.5
53+
git push
54+
git push --tags
55+
56+
To release on PyPI run:
57+
58+
python -m pip install --upgrade build twine
59+
python -m build
60+
python -m twine upload dist/*
4861

4962

5063
## License

0 commit comments

Comments
 (0)