diff --git a/pyproject.toml b/pyproject.toml index 04176df..500fc03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "wce-crm" -version = "0.1.1dev10" +version = "0.1.1dev11" description = "GUI for CRM of NAFKA project with WCE" authors = [ {name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"}, @@ -79,7 +79,7 @@ directory = "reports/coverage" [tool.bumpversion] -current_version = "0.1.1dev10" +current_version = "0.1.1dev11" parse = """(?x) (?P0|[1-9]\\d*)\\. (?P0|[1-9]\\d*)\\. diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 13a79f0..928a109 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -105,6 +105,17 @@ if ($? -eq $false){ } Write-Output "Copied database files successfully" +# copy content files +Write-Output "Copying content files (documents)..." +$copy_file = Join-Path -Path $SRC_PATH -ChildPath 'data/files' +$dest_file = Join-Path -Path $ENV_PATH -ChildPath 'data/' +Copy-Item -Path $copy_file -Destination $dest_file -Force -Recurse +if ($? -eq $false){ + Write-Output "[PWSH] Exiting script because there were errors while copying documents" + Exit +} +Write-Output "Copied content files (documents) successfully" + # copy alembic files Write-Output "Copying alembic files..." $copy_file = Join-Path -Path $SRC_PATH -ChildPath 'alembic'