diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-17 22:58:52 +0200 |
---|---|---|
committer | lat9nq <lat9nq@gmail.com> | 2022-07-31 07:35:11 +0200 |
commit | dc915aff6200f957ad6de2b6877f42d1ee71660b (patch) | |
tree | bb1e59871facc250c88740aef67889aea4a99409 /.ci/scripts/linux | |
parent | Merge pull request #8640 from lat9nq/vcpkg-extra (diff) | |
download | yuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.tar yuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.tar.gz yuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.tar.bz2 yuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.tar.lz yuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.tar.xz yuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.tar.zst yuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.zip |
Diffstat (limited to '.ci/scripts/linux')
-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 @@ . .ci/scripts/common/pre-upload.sh -APPIMAGE_NAME="yuzu-${GITDATE}-${GITREV}.AppImage" -REV_NAME="yuzu-linux-${GITDATE}-${GITREV}" +APPIMAGE_NAME="yuzu-${RELEASE_NAME}-${GITDATE}-${GITREV}.AppImage" +BASE_NAME="yuzu-linux" +REV_NAME="${BASE_NAME}-${GITDATE}-${GITREV}" ARCHIVE_NAME="${REV_NAME}.tar.xz" COMPRESSION_FLAGS="-cJvf" -if [ "${RELEASE_NAME}" = "mainline" ]; then - DIR_NAME="${REV_NAME}" +if [ "${RELEASE_NAME}" = "mainline" ] || [ "${RELEASE_NAME}" = "early-access" ]; then + DIR_NAME="${BASE_NAME}-${RELEASE_NAME}" else - DIR_NAME="${REV_NAME}_${RELEASE_NAME}" + DIR_NAME="${REV_NAME}-${RELEASE_NAME}" fi mkdir "$DIR_NAME" @@ -46,4 +47,9 @@ if [ -f "build/${APPIMAGE_NAME}.zsync" ]; then cp "build/${APPIMAGE_NAME}.zsync" "${ARTIFACTS_DIR}/" fi +# Copy the AppImage to the general release directory and remove git revision info +if [ "${RELEASE_NAME}" = "mainline" ] || [ "${RELEASE_NAME}" = "early-access" ]; then + cp "build/${APPIMAGE_NAME}" "${DIR_NAME}/yuzu-${RELEASE_NAME}.AppImage" +fi + . .ci/scripts/common/post-upload.sh |