diff options
Diffstat (limited to '')
| -rwxr-xr-x | .ci/scripts/linux/upload.sh | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/.ci/scripts/linux/upload.sh b/.ci/scripts/linux/upload.sh index 8173c5728..155edf25b 100755 --- a/.ci/scripts/linux/upload.sh +++ b/.ci/scripts/linux/upload.sh | |||
| @@ -5,15 +5,16 @@ | |||
| 5 | 5 | ||
| 6 | . .ci/scripts/common/pre-upload.sh | 6 | . .ci/scripts/common/pre-upload.sh |
| 7 | 7 | ||
| 8 | APPIMAGE_NAME="yuzu-${GITDATE}-${GITREV}.AppImage" | 8 | APPIMAGE_NAME="yuzu-${RELEASE_NAME}-${GITDATE}-${GITREV}.AppImage" |
| 9 | REV_NAME="yuzu-linux-${GITDATE}-${GITREV}" | 9 | BASE_NAME="yuzu-linux" |
| 10 | REV_NAME="${BASE_NAME}-${GITDATE}-${GITREV}" | ||
| 10 | ARCHIVE_NAME="${REV_NAME}.tar.xz" | 11 | ARCHIVE_NAME="${REV_NAME}.tar.xz" |
| 11 | COMPRESSION_FLAGS="-cJvf" | 12 | COMPRESSION_FLAGS="-cJvf" |
| 12 | 13 | ||
| 13 | if [ "${RELEASE_NAME}" = "mainline" ]; then | 14 | if [ "${RELEASE_NAME}" = "mainline" ] || [ "${RELEASE_NAME}" = "early-access" ]; then |
| 14 | DIR_NAME="${REV_NAME}" | 15 | DIR_NAME="${BASE_NAME}-${RELEASE_NAME}" |
| 15 | else | 16 | else |
| 16 | DIR_NAME="${REV_NAME}_${RELEASE_NAME}" | 17 | DIR_NAME="${REV_NAME}-${RELEASE_NAME}" |
| 17 | fi | 18 | fi |
| 18 | 19 | ||
| 19 | mkdir "$DIR_NAME" | 20 | mkdir "$DIR_NAME" |
| @@ -46,4 +47,9 @@ if [ -f "build/${APPIMAGE_NAME}.zsync" ]; then | |||
| 46 | cp "build/${APPIMAGE_NAME}.zsync" "${ARTIFACTS_DIR}/" | 47 | cp "build/${APPIMAGE_NAME}.zsync" "${ARTIFACTS_DIR}/" |
| 47 | fi | 48 | fi |
| 48 | 49 | ||
| 50 | # Copy the AppImage to the general release directory and remove git revision info | ||
| 51 | if [ "${RELEASE_NAME}" = "mainline" ] || [ "${RELEASE_NAME}" = "early-access" ]; then | ||
| 52 | cp "build/${APPIMAGE_NAME}" "${DIR_NAME}/yuzu-${RELEASE_NAME}.AppImage" | ||
| 53 | fi | ||
| 54 | |||
| 49 | . .ci/scripts/common/post-upload.sh | 55 | . .ci/scripts/common/post-upload.sh |