Skip to content

Commit 67199e4

Browse files
committed
Add maintenance file
1 parent 0e78027 commit 67199e4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

MAINTENANCE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Maintaining PyPI Version
2+
3+
These are the steps, to be run by the maintainer, for making a new Python
4+
package release.
5+
6+
1. Rev versions in **sphinx_sitemap/version.py** and **setup.py**.
7+
2. Update **CHANGELOG.md**
8+
3. Create a tag and push to GitHub:
9+
10+
git tag -a vX.Y.Z -m "Release vX.Y.Z"
11+
git push --tags origin master
12+
13+
4. Create latest distribution locally:
14+
15+
python setup.py sdist
16+
17+
5. Upload to the test pypi.org repository:
18+
19+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
20+
21+
6. Upload to the production pypi.org repository:
22+
23+
twine upload dist/*

0 commit comments

Comments
 (0)