diff options
Diffstat (limited to '.ci/scripts/clang/upload.sh')
| -rw-r--r-- | .ci/scripts/clang/upload.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.ci/scripts/clang/upload.sh b/.ci/scripts/clang/upload.sh new file mode 100644 index 000000000..fe4e6b2ac --- /dev/null +++ b/.ci/scripts/clang/upload.sh | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #!/bin/bash -ex | ||
| 2 | |||
| 3 | . .ci/scripts/common/pre-upload.sh | ||
| 4 | |||
| 5 | REV_NAME="yuzu-linux-${GITDATE}-${GITREV}" | ||
| 6 | ARCHIVE_NAME="${REV_NAME}.tar.xz" | ||
| 7 | COMPRESSION_FLAGS="-cJvf" | ||
| 8 | |||
| 9 | if [ "${RELEASE_NAME}" = "mainline" ]; then | ||
| 10 | DIR_NAME="${REV_NAME}" | ||
| 11 | else | ||
| 12 | DIR_NAME="${REV_NAME}_${RELEASE_NAME}" | ||
| 13 | fi | ||
| 14 | |||
| 15 | mkdir "$DIR_NAME" | ||
| 16 | |||
| 17 | cp build/bin/yuzu-cmd "$DIR_NAME" | ||
| 18 | cp build/bin/yuzu "$DIR_NAME" | ||
| 19 | |||
| 20 | . .ci/scripts/common/post-upload.sh | ||