diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-08-11 06:00:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 06:00:52 +0200 |
commit | 72bf84411071b7d949f4670e40587743477d44ae (patch) | |
tree | aa4b47b2be648d34b8121743f0d983c48aa11776 /.ci/scripts/common | |
parent | Merge pull request #8735 from djrobx/add_vsync (diff) | |
parent | post-upload: Upload Linux source to artifacts dir (diff) | |
download | yuzu-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/common')
-rw-r--r-- | .ci/scripts/common/post-upload.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.ci/scripts/common/post-upload.sh b/.ci/scripts/common/post-upload.sh index 7f910b2b3..0930b7a7b 100644 --- a/.ci/scripts/common/post-upload.sh +++ b/.ci/scripts/common/post-upload.sh @@ -8,8 +8,10 @@ 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}-source cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME" + cp -v "${REV_NAME}-source.tar.xz" "${ARTIFACTS_DIR}/" fi tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME" |