mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-18 10:46:31 +00:00
fix: package - various changes (#9802)
* fail on install * move site setting up to ensure site is set early * fix version file path * ensure subdirs are created too * ensure downloaded files are also collected into static * update order * bump qc workers * update version
This commit is contained in:
3
tasks.py
3
tasks.py
@@ -1360,7 +1360,7 @@ def frontend_download(
|
||||
# if clean, delete static/web directory
|
||||
if clean:
|
||||
shutil.rmtree(dest_path, ignore_errors=True)
|
||||
dest_path.mkdir()
|
||||
dest_path.mkdir(parents=True, exist_ok=True)
|
||||
info(f'Cleaned directory: {dest_path}')
|
||||
|
||||
# unzip build to static folder
|
||||
@@ -1385,6 +1385,7 @@ def frontend_download(
|
||||
info(f'Downloaded frontend build to temporary file: {dst.name}')
|
||||
|
||||
handle_extract(dst.name)
|
||||
static(c)
|
||||
|
||||
def check_already_current(tag=None, sha=None):
|
||||
"""Check if the currently available frontend is already the requested one."""
|
||||
|
Reference in New Issue
Block a user