Commit 1a60008b authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod CI: fixed hgitaly-test-build for tags and release branches

Thought of the decoding several times but still had forgotten it
in the previously published version.

branch : heptapod-stable
parent 0f7c0b6f4488
...@@ -62,9 +62,11 @@ if CI_TAG or RELEASE_BRANCH_RX.match(CI_BRANCH): ...@@ -62,9 +62,11 @@ if CI_TAG or RELEASE_BRANCH_RX.match(CI_BRANCH):
# just install the fixed deps, that's what is meant # just install the fixed deps, that's what is meant
subprocess.check_call((PIP_BIN, 'install', '--upgrade', subprocess.check_call((PIP_BIN, 'install', '--upgrade',
'-r', 'python/requirements.txt')) '-r', 'python/requirements.txt'))
hepta_mod = subprocess.check_output( hepta_mod = os.fsdecode(
(INTERPRETER, '-c', 'import heptapod; print(heptapod.__file__)'), subprocess.check_output(
cwd='/') (INTERPRETER, '-c', 'import heptapod; print(heptapod.__file__)'),
write_config(os.path.join(os.path.dirname(hepta_mod), 'required.hgrc')) write_config(os.path.join(os.path.dirname(hepta_mod), 'required.hgrc'))
sys.exit(0) sys.exit(0)
elif CI_BRANCH == 'heptapod-stable': elif CI_BRANCH == 'heptapod-stable':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment