mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user