summaryrefslogtreecommitdiff
path: root/.ci/scripts
diff options
context:
space:
mode:
authorGravatar lat9nq2021-07-17 16:58:52 -0400
committerGravatar lat9nq2022-07-31 01:35:11 -0400
commitdc915aff6200f957ad6de2b6877f42d1ee71660b (patch)
treebb1e59871facc250c88740aef67889aea4a99409 /.ci/scripts
parentMerge pull request #8640 from lat9nq/vcpkg-extra (diff)
downloadyuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.tar.gz
yuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.tar.xz
yuzu-dc915aff6200f957ad6de2b6877f42d1ee71660b.zip
ci,linux: Support Patreon releases
The Early Access AppImage needs to be accessible through liftinstall, so a couple modifications need to made: The DIR_NAME needs to not include the revision info. The EA AppImage name cannot contain revision info. The EA AppImage has to be packaged with the rest of the yuzu package, which means both binaries and the source are bundled with it now in an archive. In addition, fix the source archive so yuzu can actually be built from it. upload: Copy AppImage to both mainline and EA release package
Diffstat (limited to '.ci/scripts')
-rwxr-xr-x.ci/scripts/linux/upload.sh16
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
8APPIMAGE_NAME="yuzu-${GITDATE}-${GITREV}.AppImage" 8APPIMAGE_NAME="yuzu-${RELEASE_NAME}-${GITDATE}-${GITREV}.AppImage"
9REV_NAME="yuzu-linux-${GITDATE}-${GITREV}" 9BASE_NAME="yuzu-linux"
10REV_NAME="${BASE_NAME}-${GITDATE}-${GITREV}"
10ARCHIVE_NAME="${REV_NAME}.tar.xz" 11ARCHIVE_NAME="${REV_NAME}.tar.xz"
11COMPRESSION_FLAGS="-cJvf" 12COMPRESSION_FLAGS="-cJvf"
12 13
13if [ "${RELEASE_NAME}" = "mainline" ]; then 14if [ "${RELEASE_NAME}" = "mainline" ] || [ "${RELEASE_NAME}" = "early-access" ]; then
14 DIR_NAME="${REV_NAME}" 15 DIR_NAME="${BASE_NAME}-${RELEASE_NAME}"
15else 16else
16 DIR_NAME="${REV_NAME}_${RELEASE_NAME}" 17 DIR_NAME="${REV_NAME}-${RELEASE_NAME}"
17fi 18fi
18 19
19mkdir "$DIR_NAME" 20mkdir "$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}/"
47fi 48fi
48 49
50# Copy the AppImage to the general release directory and remove git revision info
51if [ "${RELEASE_NAME}" = "mainline" ] || [ "${RELEASE_NAME}" = "early-access" ]; then
52 cp "build/${APPIMAGE_NAME}" "${DIR_NAME}/yuzu-${RELEASE_NAME}.AppImage"
53fi
54
49. .ci/scripts/common/post-upload.sh 55. .ci/scripts/common/post-upload.sh