Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 28ae5ece authored by Anna Medonosová's avatar Anna Medonosová

Use lowercase filenames for AppImage files

parent 518eea7a
......@@ -124,13 +124,13 @@ sed -e "s|<release version=\"\" date=\"\" />|<release version=\"$VERSION\" date=
# set zsync url for linuxdeployqt
if [ "$CHANNEL" = "Next" ]; then
ZSYNC_URL="zsync|https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Build/lastSuccessfulBuild/artifact/Krita-${CHANNEL}-x86_64.AppImage.zsync"
ZSYNC_URL="zsync|https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Build/lastSuccessfulBuild/artifact/krita-${CHANNEL}-x86_64.appimage.zsync"
elif [ "$CHANNEL" = "Plus" ]; then
ZSYNC_URL="zsync|https://binary-factory.kde.org/job/Krita_Stable_Appimage_Build/lastSuccessfulBuild/artifact/Krita-${CHANNEL}-x86_64.AppImage.zsync"
ZSYNC_URL="zsync|https://binary-factory.kde.org/job/Krita_Stable_Appimage_Build/lastSuccessfulBuild/artifact/krita-${CHANNEL}-x86_64.appimage.zsync"
elif [ "$CHANNEL" = "Stable" ]; then
ZSYNC_URL="zsync|https://download.kde.org/stable/krita/updates/Krita-${CHANNEL}-x86_64.AppImage.zsync"
ZSYNC_URL="zsync|https://download.kde.org/stable/krita/updates/krita-${CHANNEL}-x86_64.appimage.zsync"
elif [ "$CHANNEL" = "Beta" ]; then
ZSYNC_URL="zsync|https://download.kde.org/unstable/krita/updates/Krita-${CHANNEL}-x86_64.AppImage.zsync"
ZSYNC_URL="zsync|https://download.kde.org/unstable/krita/updates/krita-${CHANNEL}-x86_64.appimage.zsync"
fi
# Return to our build root
cd $BUILD_PREFIX
......@@ -151,5 +151,9 @@ linuxdeployqt $APPDIR/usr/share/applications/org.kde.krita.desktop \
-appimage
OLD_APPIMAGE_NAME="Krita-${VERSION}-x86_64.AppImage"
NEW_APPIMAGE_NAME="krita-${VERSION}-x86_64.appimage"
mv ${OLD_APPIMAGE_NAME} ${NEW_APPIMAGE_NAME}
# the zsync will be regenerated after signing
rm Krita-${VERSION}-x86_64.AppImage.zsync
......@@ -36,6 +36,6 @@ fi
zsyncmake -u "${URL}/$(basename ${APPIMAGE_PATH})" -o $APPIMAGE_PATH.zsync.new $APPIMAGE_PATH
ret=$?
if [ $ret -eq 0 ]; then
mv $APPIMAGE_PATH.zsync.new Krita-${CHANNEL}-x86_64.AppImage.zsync
mv $APPIMAGE_PATH.zsync.new krita-${CHANNEL}-x86_64.appimage.zsync
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment