diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-02-25 17:49:54 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-02-25 17:49:54 +0100 |
commit | 1f95b8375d9f7f09d0753b4e01792644d12bc08d (patch) | |
tree | 97cab2f9dc51c0790c85a5144097a5da9328c4f5 /release/rtool.py | |
parent | 2db8a087eba27d294203d621134aa4f29c68b4f3 (diff) | |
download | mitmproxy-1f95b8375d9f7f09d0753b4e01792644d12bc08d.tar.gz mitmproxy-1f95b8375d9f7f09d0753b4e01792644d12bc08d.tar.bz2 mitmproxy-1f95b8375d9f7f09d0753b4e01792644d12bc08d.zip |
improve release instructions
Diffstat (limited to 'release/rtool.py')
-rwxr-xr-x | release/rtool.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/release/rtool.py b/release/rtool.py index 9050107e..171ce6b0 100755 --- a/release/rtool.py +++ b/release/rtool.py @@ -286,6 +286,20 @@ def upload_release(username, password, repository): ]) +@cli.command("homebrew-pr") +def homebrew_pr(): + """ + Create a new Homebrew PR + """ + print("Creating a new PR with Homebrew...") + subprocess.check_call([ + "brew", + "bump-formula-pr", + "--url", "https://github.com/mitmproxy/mitmproxy/archive/v{}".format(get_version()), + "mitmproxy", + ]) + + @cli.command("upload-snapshot") @click.option("--host", envvar="SNAPSHOT_HOST", prompt=True) @click.option("--port", envvar="SNAPSHOT_PORT", type=int, default=22) |