diff options
author | dundargoc <gocdundar@gmail.com> | 2025-01-27 17:40:26 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2025-01-28 10:21:27 +0100 |
commit | 318676ad13483fa1f9b2733d6915620f2525ca12 (patch) | |
tree | 04763640f49890443293ebdd5c4979f494c5ef76 /scripts | |
parent | c47496791a80f8b6b9e37866010305482de4c8ca (diff) | |
download | rneovim-318676ad13483fa1f9b2733d6915620f2525ca12.tar.gz rneovim-318676ad13483fa1f9b2733d6915620f2525ca12.tar.bz2 rneovim-318676ad13483fa1f9b2733d6915620f2525ca12.zip |
ci(release)!: remove backwards compatible releases
Remove `nvim-linux64.tar.gz` and `nvim.appimage` as maintaining
these is too much work.
Also fix directory names to be consistent.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/genappimage.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/genappimage.sh b/scripts/genappimage.sh index 63cda6d6ec..e683a9dcd1 100755 --- a/scripts/genappimage.sh +++ b/scripts/genappimage.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e ######################################################################## # Package the binaries built as an AppImage @@ -11,6 +11,7 @@ if [ -z "$ARCH" ]; then ARCH="$(arch)" export ARCH fi +ARCH_ORIGINAL=$ARCH TAG=$1 @@ -75,6 +76,12 @@ chmod 755 AppRun cd "$APP_BUILD_DIR" || exit # Get out of AppImage directory. +# We want to be consistent, so always use arm64 over aarch64 +if [[ "$ARCH" == 'aarch64' ]]; then + ARCH="arm64" + export ARCH +fi + # Set the name of the file generated by appimage export OUTPUT=nvim-linux-"$ARCH".appimage @@ -87,7 +94,7 @@ fi # - Expects: $ARCH, $APP, $VERSION env vars # - Expects: ./$APP.AppDir/ directory # - Produces: ./nvim-linux-$ARCH.appimage -./linuxdeploy-"$ARCH".AppImage --appdir $APP.AppDir -d "$ROOT_DIR"/runtime/nvim.desktop -i \ +./linuxdeploy-"$ARCH_ORIGINAL".AppImage --appdir $APP.AppDir -d "$ROOT_DIR"/runtime/nvim.desktop -i \ "$ROOT_DIR/runtime/nvim.png" --output appimage # Moving the final executable to a different folder so it isn't in the |