summaryrefslogtreecommitdiffstats
path: root/.ci/scripts
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-11-12 04:32:22 +0100
committerZach Hilman <zachhilman@gmail.com>2019-11-12 04:32:22 +0100
commitd4a1afba4b94379b39434fe9623a26e0f08bb4aa (patch)
treed3509608d820052e84263f06fde2f28804705854 /.ci/scripts
parentMerge pull request #3085 from bunnei/web-token-b64 (diff)
downloadyuzu-d4a1afba4b94379b39434fe9623a26e0f08bb4aa.tar
yuzu-d4a1afba4b94379b39434fe9623a26e0f08bb4aa.tar.gz
yuzu-d4a1afba4b94379b39434fe9623a26e0f08bb4aa.tar.bz2
yuzu-d4a1afba4b94379b39434fe9623a26e0f08bb4aa.tar.lz
yuzu-d4a1afba4b94379b39434fe9623a26e0f08bb4aa.tar.xz
yuzu-d4a1afba4b94379b39434fe9623a26e0f08bb4aa.tar.zst
yuzu-d4a1afba4b94379b39434fe9623a26e0f08bb4aa.zip
Diffstat (limited to '.ci/scripts')
-rw-r--r--.ci/scripts/common/post-upload.sh4
-rw-r--r--.ci/scripts/windows/upload.ps13
2 files changed, 7 insertions, 0 deletions
diff --git a/.ci/scripts/common/post-upload.sh b/.ci/scripts/common/post-upload.sh
index b80868635..e46ee0abb 100644
--- a/.ci/scripts/common/post-upload.sh
+++ b/.ci/scripts/common/post-upload.sh
@@ -4,9 +4,13 @@
cp license.txt "$DIR_NAME"
cp README.md "$DIR_NAME"
+tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt
+cp "${REV_NAME}-source.tar.xz" "$DIR_NAME"
+
tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME"
mv "$DIR_NAME" $RELEASE_NAME
+mv "${REV_NAME}-source.tar.xz" $RELEASE_NAME
7z a "$REV_NAME.7z" $RELEASE_NAME
diff --git a/.ci/scripts/windows/upload.ps1 b/.ci/scripts/windows/upload.ps1
index e34e6681f..f0d9d5880 100644
--- a/.ci/scripts/windows/upload.ps1
+++ b/.ci/scripts/windows/upload.ps1
@@ -14,6 +14,7 @@ $MSVC_BUILD_PDB = "yuzu-windows-msvc-$GITDATE-$GITREV-debugsymbols.zip" -replace
$MSVC_SEVENZIP = "yuzu-windows-msvc-$GITDATE-$GITREV.7z" -replace " ", ""
$MSVC_TAR = "yuzu-windows-msvc-$GITDATE-$GITREV.tar" -replace " ", ""
$MSVC_TARXZ = "yuzu-windows-msvc-$GITDATE-$GITREV.tar.xz" -replace " ", ""
+$MSVC_SOURCE = "yuzu-windows-msvc-source-$GITDATE-$GITREV.tar.xz" -replace " ", ""
$env:BUILD_ZIP = $MSVC_BUILD_ZIP
$env:BUILD_SYMBOLS = $MSVC_BUILD_PDB
@@ -34,6 +35,8 @@ Get-ChildItem "$BUILD_DIR" -Recurse -Filter "yuzu*.exe" | Copy-Item -destination
Get-ChildItem "$BUILD_DIR" -Recurse -Filter "QtWebEngineProcess*.exe" | Copy-Item -destination $RELEASE_DIST
Copy-Item .\license.txt -Destination $RELEASE_DIST
Copy-Item .\README.md -Destination $RELEASE_DIST
+Copy-Item .\src -Recurse -Destination $RELEASE_DIST
+Copy-Item .\externals -Recurse -Destination $RELEASE_DIST
7z a -tzip $MSVC_BUILD_ZIP $RELEASE_DIST\*
7z a $MSVC_SEVENZIP $RELEASE_DIST