aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-03-31 18:07:47 +0200
committerMaximilian Hils <git@maximilianhils.com>2016-03-31 18:07:47 +0200
commit5552b5e782deaa510ebb00f337e39e99ac452aae (patch)
treef48b68bbaf5f8c2c33ef24db9a70e3bb702b9d9b
parent2d6eb28fd07359a5c7d909abdee903b9758b7572 (diff)
downloadmitmproxy-5552b5e782deaa510ebb00f337e39e99ac452aae.tar.gz
mitmproxy-5552b5e782deaa510ebb00f337e39e99ac452aae.tar.bz2
mitmproxy-5552b5e782deaa510ebb00f337e39e99ac452aae.zip
snapshots: fix build tag
-rwxr-xr-xrelease/rtool.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/rtool.py b/release/rtool.py
index 221ace0a..454e0c6b 100755
--- a/release/rtool.py
+++ b/release/rtool.py
@@ -70,7 +70,8 @@ def get_snapshot_version():
if tag_dist == 0:
return get_version()
else:
- return "{version}dev{tag_dist:04}-{commit}".format(
+ # The wheel build tag (we use the commit) must start with a digit, so we include "0x"
+ return "{version}dev{tag_dist:04}-0x{commit}".format(
version=get_version(), # this should already be the next version
tag_dist=tag_dist,
commit=commit