diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-03-08 09:52:05 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-03-08 09:52:05 +1300 |
commit | 0debcf5bf92b71e58ad723629e35b7f5a3393656 (patch) | |
tree | f07ffdc73fb084eef81ff99a3a83889929da2700 /release | |
parent | 3a3299bc612218d5073f423a587f9d917868aeec (diff) | |
download | mitmproxy-0debcf5bf92b71e58ad723629e35b7f5a3393656.tar.gz mitmproxy-0debcf5bf92b71e58ad723629e35b7f5a3393656.tar.bz2 mitmproxy-0debcf5bf92b71e58ad723629e35b7f5a3393656.zip |
release: fix PR detection for appveyor
Diffstat (limited to 'release')
-rwxr-xr-x | release/ci.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/ci.py b/release/ci.py index eaabaf3a..94b1f13d 100755 --- a/release/ci.py +++ b/release/ci.py @@ -217,7 +217,9 @@ def build(): def is_pr(): - if os.environ.get("TRAVIS_PULL_REQUEST") != "false": + if "TRAVIS_PULL_REQUEST" in os.environ: + if os.environ["TRAVIS_PULL_REQUEST"] == "false": + return False return True elif os.environ.get("APPVEYOR_PULL_REQUEST_NUMBER"): return True |