aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-25 19:37:37 -0400
committerW. Trevor King <wking@tremily.us>2012-10-25 19:37:43 -0400
commit20c1de34ba164d6ae63557e4e92cf5d1bee5c04c (patch)
tree303c60b7895e2d3fea97543338d1994d2d216171
parentdbbc38aa56cc1b5e8b06e8b9e3685ca7a6f79ee9 (diff)
downloadbugseverywhere-20c1de34ba164d6ae63557e4e92cf5d1bee5c04c.tar.gz
release.py: use current Python executable for ./be invocation
This allow you to cut a release where your system Python is not compatible with be. For example: $ python --version Python 3.2.3 $ python2.7 ./release.py 1.1.0
-rwxr-xr-xrelease.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release.py b/release.py
index 7c5f51c..c9b3549 100755
--- a/release.py
+++ b/release.py
@@ -124,7 +124,7 @@ def set_vcs_name(be_dir, vcs_name='None'):
def make_id_cache():
"""Generate .be/id-cache so users won't need to.
"""
- invoke(['./be', 'list'])
+ invoke([sys.executable, './be', 'list'])
def create_tarball(tag):
release_name='be-%s' % tag