aboutsummaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-03-08 08:09:01 +1300
committerAldo Cortesi <aldo@corte.si>2018-03-08 08:09:01 +1300
commit5cea2aacb233f2c3144bd8c42d64161ad3241f3b (patch)
tree3d341e6d1561e716c683464b13996feb057c336f /release
parent380e4bc14d2d37df5af3be53abf2e9b8be79efcb (diff)
downloadmitmproxy-5cea2aacb233f2c3144bd8c42d64161ad3241f3b.tar.gz
mitmproxy-5cea2aacb233f2c3144bd8c42d64161ad3241f3b.tar.bz2
mitmproxy-5cea2aacb233f2c3144bd8c42d64161ad3241f3b.zip
release: build snapshots for all branches on the main repo
Diffstat (limited to 'release')
-rwxr-xr-xrelease/ci.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/release/ci.py b/release/ci.py
index 53a2632f..43fde3dc 100755
--- a/release/ci.py
+++ b/release/ci.py
@@ -56,7 +56,6 @@ PYINSTALLER_DIST = join(BUILD_DIR, "binaries", PLATFORM_TAG)
VENV_DIR = join(BUILD_DIR, "venv")
# Project Configuration
-SNAPSHOT_BRANCHES = ["master", "updocs"]
VERSION_FILE = join(ROOT_DIR, "mitmproxy", "version.py")
BDISTS = {
"mitmproxy": ["mitmproxy", "mitmdump", "mitmweb"],
@@ -75,10 +74,10 @@ TAG = os.environ.get("TRAVIS_TAG", os.environ.get("APPVEYOR_REPO_TAG_NAME", None
BRANCH = os.environ.get("TRAVIS_BRANCH", os.environ.get("APPVEYOR_REPO_BRANCH", None))
if TAG:
VERSION = TAG
-elif BRANCH in SNAPSHOT_BRANCHES:
+elif BRANCH:
VERSION = BRANCH
else:
- print("Branch %s is not build branch - exiting." % BRANCH)
+ print("Could not establish build name - exiting." % BRANCH)
sys.exit(0)