summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-12 21:56:46 +0100
committerGitHub <noreply@github.com>2019-11-12 21:56:46 +0100
commitf7d4c848070c353ddcb8351a5caa560efd5fc4d8 (patch)
treed3509608d820052e84263f06fde2f28804705854
parentMerge pull request #3085 from bunnei/web-token-b64 (diff)
parentci: Package source with builds (diff)
downloadyuzu-f7d4c848070c353ddcb8351a5caa560efd5fc4d8.tar
yuzu-f7d4c848070c353ddcb8351a5caa560efd5fc4d8.tar.gz
yuzu-f7d4c848070c353ddcb8351a5caa560efd5fc4d8.tar.bz2
yuzu-f7d4c848070c353ddcb8351a5caa560efd5fc4d8.tar.lz
yuzu-f7d4c848070c353ddcb8351a5caa560efd5fc4d8.tar.xz
yuzu-f7d4c848070c353ddcb8351a5caa560efd5fc4d8.tar.zst
yuzu-f7d4c848070c353ddcb8351a5caa560efd5fc4d8.zip
-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