Skip to content

Commit 18a6b01

Browse files
author
psadi
committed
fix: change upinfo name which conflicts between builds
1 parent 5cd6539 commit 18a6b01

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GHOSTTY_VERSION="$(cat VERSION)"
99
TMP_DIR="/tmp/ghostty-build"
1010
APP_DIR="${TMP_DIR}/ghostty.AppDir"
1111
PUB_KEY="RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV"
12-
UPINFO="gh-releases-zsync|$(echo "${GITHUB_REPOSITORY:-no-user/no-repo}" | tr '/' '|')|latest|*$ARCH.AppImage.zsync"
12+
UPINFO="gh-releases-zsync|$(echo "${GITHUB_REPOSITORY:-no-user/no-repo}" | tr '/' '|')|latest|Ghostty-*$ARCH.AppImage.zsync"
1313
APPDATA_FILE="${PWD}/assets/ghostty.appdata.xml"
1414
DESKTOP_FILE="${PWD}/assets/ghostty.desktop"
1515
LIBS2BUNDLE="./bin/ghostty /usr/lib/libEGL*"
@@ -107,7 +107,8 @@ fi
107107
GHOSTTY_APPIMAGE="Ghostty-${VERSION}-${ARCH}.AppImage"
108108

109109
if [ $GLFW == true ]; then
110-
GHOSTTY_APPIMAGE="Ghostty-Glfw-${VERSION}-${ARCH}.AppImage"
110+
UPINFO="gh-releases-zsync|$(echo "${GITHUB_REPOSITORY:-no-user/no-repo}" | tr '/' '|')|latest|Ghossty_*$ARCH.AppImage.zsync"
111+
GHOSTTY_APPIMAGE="Ghostty_Glfw-${VERSION}-${ARCH}.AppImage"
111112
fi
112113

113114
cd "${TMP_DIR}"

0 commit comments

Comments
 (0)