diff options
Diffstat (limited to '')
| -rw-r--r-- | .ci/scripts/windows/upload.ps1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.ci/scripts/windows/upload.ps1 b/.ci/scripts/windows/upload.ps1 index 21abcd752..492763420 100644 --- a/.ci/scripts/windows/upload.ps1 +++ b/.ci/scripts/windows/upload.ps1 | |||
| @@ -26,7 +26,11 @@ $env:BUILD_ZIP = $MSVC_BUILD_ZIP | |||
| 26 | $env:BUILD_SYMBOLS = $MSVC_BUILD_PDB | 26 | $env:BUILD_SYMBOLS = $MSVC_BUILD_PDB |
| 27 | $env:BUILD_UPDATE = $MSVC_SEVENZIP | 27 | $env:BUILD_UPDATE = $MSVC_SEVENZIP |
| 28 | 28 | ||
| 29 | $BUILD_DIR = ".\build\bin\Release" | 29 | if (Test-Path -Path ".\build\bin\Release") { |
| 30 | $BUILD_DIR = ".\build\bin\Release" | ||
| 31 | } else { | ||
| 32 | $BUILD_DIR = ".\build\bin\" | ||
| 33 | } | ||
| 30 | 34 | ||
| 31 | # Cleanup unneeded data in submodules | 35 | # Cleanup unneeded data in submodules |
| 32 | git submodule foreach git clean -fxd | 36 | git submodule foreach git clean -fxd |