refac: rename build hash vars

This commit is contained in:
Jun Siang Cheah
2024-05-26 08:49:30 +01:00
parent a579f5f8cf
commit 4fdb26fdc4
8 changed files with 12 additions and 12 deletions

View File

@@ -19,5 +19,5 @@ class CustomBuildHook(BuildHookInterface):
stderr.write("### npm install\n")
subprocess.run([npm, "install"], check=True) # noqa: S603
stderr.write("\n### npm run build\n")
os.environ["WEBUI_VERSION"] = version
os.environ["APP_BUILD_HASH"] = version
subprocess.run([npm, "run", "build"], check=True) # noqa: S603