summaryrefslogtreecommitdiffstats
path: root/.ci/scripts/windows
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-08-11 06:00:52 +0200
committerGitHub <noreply@github.com>2022-08-11 06:00:52 +0200
commit72bf84411071b7d949f4670e40587743477d44ae (patch)
treeaa4b47b2be648d34b8121743f0d983c48aa11776 /.ci/scripts/windows
parentMerge pull request #8735 from djrobx/add_vsync (diff)
parentpost-upload: Upload Linux source to artifacts dir (diff)
downloadyuzu-72bf84411071b7d949f4670e40587743477d44ae.tar
yuzu-72bf84411071b7d949f4670e40587743477d44ae.tar.gz
yuzu-72bf84411071b7d949f4670e40587743477d44ae.tar.bz2
yuzu-72bf84411071b7d949f4670e40587743477d44ae.tar.lz
yuzu-72bf84411071b7d949f4670e40587743477d44ae.tar.xz
yuzu-72bf84411071b7d949f4670e40587743477d44ae.tar.zst
yuzu-72bf84411071b7d949f4670e40587743477d44ae.zip
Diffstat (limited to '.ci/scripts/windows')
-rw-r--r--.ci/scripts/windows/upload.ps110
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