mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
0cc8c44c22
- Add --shortversion on tools to make packaging easier - Automate tarfile generation
40 lines
1008 B
Plaintext
40 lines
1008 B
Plaintext
|
|
- Bump the version number:
|
|
|
|
mitmproxy/libmproxy/version.py
|
|
netlib/netlib/version.py
|
|
pathod/libpathod/version.py
|
|
|
|
- Render the docs:
|
|
cshape doc-src doc
|
|
|
|
- Run the test release, make sure the output is sensible
|
|
./release/test-release
|
|
|
|
- Build sdist packages:
|
|
python ./setup.py sdist
|
|
|
|
- Test the packages by installing in a virtualenv:
|
|
- cd dist
|
|
- tar -xzvf pkgfile.tgz
|
|
- virtualenv venv
|
|
|
|
- Build the OSX binaries
|
|
- Follow instructions in osxbinaries
|
|
- Package:
|
|
cp -r ./doc /tmp/osx-mitmproxy/
|
|
mv /tmp/osx-mitmproxy /tmp/osx-mitmproxy-VERSION
|
|
tar -czvf /tmp/osx-mitmproxy-VERSION.tar.gz /tmp/osx-mitmproxy-VERSION
|
|
mv /tmp/osx-mitmproxy-VERSION.tar.gz ~/mitmproxy/www.mitmproxy.org/src/download
|
|
|
|
- Build the sources for each project:
|
|
python ./setup.py sdist
|
|
mv ./dist/FILE ~/mitmproxy/www.mitmproxy.org/src/download
|
|
|
|
- Adjust links on www.mitmproxy.org
|
|
|
|
- Upload to pypi for each project:
|
|
|
|
python ./setup.py sdist upload
|
|
|