diff options
| author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-02-25 18:02:39 +0100 | 
|---|---|---|
| committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-02-25 18:02:39 +0100 | 
| commit | 2d1d1418b433d4356ab849543ecec12be196c7be (patch) | |
| tree | 676681f943bb117c7dcf70341c393e04b3c42352 | |
| parent | 1f95b8375d9f7f09d0753b4e01792644d12bc08d (diff) | |
| download | mitmproxy-2d1d1418b433d4356ab849543ecec12be196c7be.tar.gz mitmproxy-2d1d1418b433d4356ab849543ecec12be196c7be.tar.bz2 mitmproxy-2d1d1418b433d4356ab849543ecec12be196c7be.zip | |
improve release instructions
| -rwxr-xr-x | release/rtool.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/release/rtool.py b/release/rtool.py index 171ce6b0..25f37e61 100755 --- a/release/rtool.py +++ b/release/rtool.py @@ -3,6 +3,7 @@  import contextlib  import fnmatch  import os +import sys  import platform  import re  import runpy @@ -291,6 +292,10 @@ def homebrew_pr():      """      Create a new Homebrew PR      """ +    if platform.system() != "Darwin": +        print("You need to run this on macOS to create a new Homebrew PR. Sorry.") +        sys.exit(1) +      print("Creating a new PR with Homebrew...")      subprocess.check_call([          "brew", | 
