mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-17 07:52:22 +00:00
build/linux: Complete AppImage revisioning code
It was first introduced in 131834d3
but was incomplete.
This commit is contained in:
parent
62bd4b30cb
commit
57e914507d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue