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.
This commit is contained in:
dundargoc
2025-01-27 17:40:26 +01:00
committed by dundargoc
parent c47496791a
commit 318676ad13
4 changed files with 20 additions and 32 deletions

View File

@ -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