Skip to content

Commit 628a192

Browse files
committed
Add notes on release procedure
1 parent 8964b75 commit 628a192

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

python/README

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,25 @@ Java and Python regexps:
100100
together with a check that m.end() == len(x).
101101
The last of these is encapsulated in the fullmatch() function in
102102
re_util.py.
103+
104+
105+
===========================
106+
Release Procedure
107+
===========================
108+
109+
- Ensure that HISTORY file is up-to-date.
110+
- Set the __version__ field in phonenumbers/__init__.py
111+
- Create a release-<version> branch and shift to it with:
112+
git checkout -b release-<version>
113+
- Push the branch to Github with:
114+
git push origin release-<version>
115+
- Create a setup-tools packaged tarball dist/phonenumbers-<version>.tar.gz
116+
with:
117+
make sdist # runs setup.py sdist
118+
- Create a Debian package deb_dist/python-phonenumbers-<version>-1_all.deb
119+
on a Linux machine with:
120+
make deb
121+
- Upload the tarball and Debian package to Github downloads page at:
122+
https://github.com/daviddrysdale/python-phonenumbers/downloads
123+
- Push the package to PyPI with:
124+
setup.py register

0 commit comments

Comments
 (0)