VERY experimental Nintendo Switch 2 emulator
C++
ci: Graft source when archiving
lat9nqb0eb15f15f0c
diff --git a/.ci/scripts/common/post-upload.sh b/.ci/scripts/common/post-upload.shindex 7f910b2b38..576f1ffaa1 100644--- a/.ci/scripts/common/post-upload.sh+++ b/.ci/scripts/common/post-upload.sh@@ -8,7 +8,8 @@ cp LICENSE.txt "$DIR_NAME"cp README.md "$DIR_NAME"if [[ -z "${NO_SOURCE_PACK}" ]]; then- tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md LICENSE.txt+ git clone --depth 1 file://$(readlink -e .) ${REV_NAME}-source+ tar -cJvf "${REV_NAME}-source.tar.xz" ${REV_NAME}-sourcecp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME"fidiff --git a/.ci/scripts/windows/upload.ps1 b/.ci/scripts/windows/upload.ps1index f2368be6f0..d463281ded 100644--- a/.ci/scripts/windows/upload.ps1+++ b/.ci/scripts/windows/upload.ps1@@ -42,14 +42,10 @@ mkdir $RELEASE_DISTmkdir $MSVC_SOURCEmkdir "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_SOURCE7z a -r -ttar $MSVC_SOURCE_TAR $MSVC_SOURCE7z a -r -txz $MSVC_SOURCE_TARXZ $MSVC_SOURCE_TAR