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

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.

--HG--
branch : heptapod-stable
parent 0f7c0b6f4488
......@@ -62,9 +62,11 @@ if CI_TAG or RELEASE_BRANCH_RX.match(CI_BRANCH):
# just install the fixed deps, that's what is meant
subprocess.check_call((PIP_BIN, 'install', '--upgrade',
'-r', 'python/requirements.txt'))
hepta_mod = subprocess.check_output(
(INTERPRETER, '-c', 'import heptapod; print(heptapod.__file__)'),
cwd='/')
hepta_mod = os.fsdecode(
subprocess.check_output(
(INTERPRETER, '-c', 'import heptapod; print(heptapod.__file__)'),
cwd='/')
)
write_config(os.path.join(os.path.dirname(hepta_mod), 'required.hgrc'))
sys.exit(0)
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