aboutsummaryrefslogtreecommitdiffstats
path: root/release/rtool.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-05-17 11:15:15 +1200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2018-05-17 18:28:43 +0200
commit052b378ea67b0fb15496d6e208efd9711e9802bd (patch)
tree656dc40c3fcae2eff6ca9002d4ac3d2ae0d6c30d /release/rtool.py
parent93b90a94ed0cb5cc309958e249c7dd652d64fef9 (diff)
downloadmitmproxy-052b378ea67b0fb15496d6e208efd9711e9802bd.tar.gz
mitmproxy-052b378ea67b0fb15496d6e208efd9711e9802bd.tar.bz2
mitmproxy-052b378ea67b0fb15496d6e208efd9711e9802bd.zip
Post-release updates
- Update release docs - Bump version
Diffstat (limited to 'release/rtool.py')
-rwxr-xr-xrelease/rtool.py22
1 files changed, 1 insertions, 21 deletions
diff --git a/release/rtool.py b/release/rtool.py
index 0009cf89..68ff02ab 100755
--- a/release/rtool.py
+++ b/release/rtool.py
@@ -63,26 +63,6 @@ def contributors():
f.write(contributors_data.encode())
-@cli.command("upload-release")
-@click.option('--username', prompt=True)
-@click.password_option(confirmation_prompt=False)
-@click.option('--repository', default="pypi")
-def upload_release(username, password, repository):
- """
- Upload wheels to PyPI
- """
- filename = wheel_name()
- print("Uploading {} to {}...".format(filename, repository))
- subprocess.check_call([
- "twine",
- "upload",
- "-u", username,
- "-p", password,
- "-r", repository,
- join(DIST_DIR, filename)
- ])
-
-
@cli.command("homebrew-pr")
def homebrew_pr():
"""
@@ -96,7 +76,7 @@ def homebrew_pr():
subprocess.check_call([
"brew",
"bump-formula-pr",
- "--url", "https://github.com/mitmproxy/mitmproxy/archive/v{}".format(get_version()),
+ "--url", "https://github.com/mitmproxy/mitmproxy/archive/v{}.tar.gz".format(get_version()),
"mitmproxy",
])