diff options
author | lat9nq <lat9nq@gmail.com> | 2022-07-31 07:25:40 +0200 |
---|---|---|
committer | lat9nq <lat9nq@gmail.com> | 2022-08-09 06:17:30 +0200 |
commit | 1f7e2d1cadf160d0d516567b6970cdd876c29c6d (patch) | |
tree | 855f8f6fba3a7ef213a7311dad53e61edc4b4233 /.ci/scripts/windows/upload.ps1 | |
parent | Merge pull request #8734 from liamwhite/bors-is-my-best-friend (diff) | |
download | yuzu-1f7e2d1cadf160d0d516567b6970cdd876c29c6d.tar yuzu-1f7e2d1cadf160d0d516567b6970cdd876c29c6d.tar.gz yuzu-1f7e2d1cadf160d0d516567b6970cdd876c29c6d.tar.bz2 yuzu-1f7e2d1cadf160d0d516567b6970cdd876c29c6d.tar.lz yuzu-1f7e2d1cadf160d0d516567b6970cdd876c29c6d.tar.xz yuzu-1f7e2d1cadf160d0d516567b6970cdd876c29c6d.tar.zst yuzu-1f7e2d1cadf160d0d516567b6970cdd876c29c6d.zip |
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 mkdir $MSVC_SOURCE mkdir "artifacts" +$CURRENT_DIR = Convert-Path . + # Build a tar.xz for the source of the release -Copy-Item .\LICENSE.txt -Destination $MSVC_SOURCE -Copy-Item .\README.md -Destination $MSVC_SOURCE -Copy-Item .\CMakeLists.txt -Destination $MSVC_SOURCE -Copy-Item .\src -Recurse -Destination $MSVC_SOURCE -Copy-Item .\externals -Recurse -Destination $MSVC_SOURCE -Copy-Item .\dist -Recurse -Destination $MSVC_SOURCE -Copy-Item .\CMakeModules -Recurse -Destination $MSVC_SOURCE +git clone --depth 1 file://$CURRENT_DIR $MSVC_SOURCE 7z a -r -ttar $MSVC_SOURCE_TAR $MSVC_SOURCE 7z a -r -txz $MSVC_SOURCE_TARXZ $MSVC_SOURCE_TAR |