IQ.Pilot Release Commit @ 98a2c61
This commit is contained in:
@@ -94,7 +94,7 @@ def cleanup_stale_overlay() -> None:
|
||||
|
||||
def parse_release_notes(basedir: str) -> bytes:
|
||||
try:
|
||||
with open(os.path.join(basedir, "docs", "CHANGELOG.md"), "rb") as f:
|
||||
with open(os.path.join(basedir, "iqpilot", "docs", "CHANGELOG.md"), "rb") as f:
|
||||
r = f.read().split(b'\n\n', 1)[0] # Slice latest release notes
|
||||
try:
|
||||
return bytes(parse_markdown(r.decode("utf-8")), encoding="utf-8")
|
||||
@@ -462,7 +462,7 @@ def prepare_environment() -> bool:
|
||||
subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT, encoding="utf8", env=env)
|
||||
|
||||
try:
|
||||
env_sync = os.path.join(BASEDIR, "scripts", "iqpilot", "env_sync.sh")
|
||||
env_sync = os.path.join(BASEDIR, "artifacts", "runtime", "env_sync.sh")
|
||||
if os.path.exists(env_sync):
|
||||
cloudlog.info("update prep: syncing python env")
|
||||
_run(["bash", env_sync], BASEDIR)
|
||||
|
||||
Reference in New Issue
Block a user