build/linux: Complete AppImage revisioning code

It was first introduced in 131834d3 but was incomplete.
This commit is contained in:
Bruno 2025-02-17 16:00:02 -03:00
parent 62bd4b30cb
commit 57e914507d
No known key found for this signature in database

View file

@ -381,6 +381,11 @@ echo "usr/${LIB_DIR}/${LIB_SUBDIR}gconv
usr/share/doc
usr/share/themes
etc" > appimageignore-$HOST_ARCH
## Revision (if there is one)
if [[ "$GIMP_CI_APPIMAGE" =~ [1-9] ]] && [ "$CI_PIPELINE_SOURCE" != 'schedule' ]; then
sed -i "s/revision=0/revision=$REVISION/" "$(echo $USR_DIR/share/gimp/*/gimp-release)"
fi
echo -e "\e[0Ksection_end:`date +%s`:apmg_files\r\e[0K"
fi
if [ "$1" = '--bundle-only' ] || [ "$2" = '--bundle-only' ]; then