diff options
Diffstat (limited to '.ci/scripts/windows/upload.ps1')
| -rw-r--r-- | .ci/scripts/windows/upload.ps1 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/.ci/scripts/windows/upload.ps1 b/.ci/scripts/windows/upload.ps1 index f2368be6f..d463281de 100644 --- a/.ci/scripts/windows/upload.ps1 +++ b/.ci/scripts/windows/upload.ps1 | |||
| @@ -42,14 +42,10 @@ mkdir $RELEASE_DIST | |||
| 42 | mkdir $MSVC_SOURCE | 42 | mkdir $MSVC_SOURCE |
| 43 | mkdir "artifacts" | 43 | mkdir "artifacts" |
| 44 | 44 | ||
| 45 | $CURRENT_DIR = Convert-Path . | ||
| 46 | |||
| 45 | # Build a tar.xz for the source of the release | 47 | # Build a tar.xz for the source of the release |
| 46 | Copy-Item .\LICENSE.txt -Destination $MSVC_SOURCE | 48 | git clone --depth 1 file://$CURRENT_DIR $MSVC_SOURCE |
| 47 | Copy-Item .\README.md -Destination $MSVC_SOURCE | ||
| 48 | Copy-Item .\CMakeLists.txt -Destination $MSVC_SOURCE | ||
| 49 | Copy-Item .\src -Recurse -Destination $MSVC_SOURCE | ||
| 50 | Copy-Item .\externals -Recurse -Destination $MSVC_SOURCE | ||
| 51 | Copy-Item .\dist -Recurse -Destination $MSVC_SOURCE | ||
| 52 | Copy-Item .\CMakeModules -Recurse -Destination $MSVC_SOURCE | ||
| 53 | 7z a -r -ttar $MSVC_SOURCE_TAR $MSVC_SOURCE | 49 | 7z a -r -ttar $MSVC_SOURCE_TAR $MSVC_SOURCE |
| 54 | 7z a -r -txz $MSVC_SOURCE_TARXZ $MSVC_SOURCE_TAR | 50 | 7z a -r -txz $MSVC_SOURCE_TARXZ $MSVC_SOURCE_TAR |
| 55 | 51 | ||