gitlab-ci, build/linux: Set commit of flatpak_ci_initiative.yml on dist script

Let's avoid surprises on the .sh too.
This commit is contained in:
Bruno Lopes 2026-04-08 10:06:43 -03:00
parent 691785113a
commit 397e97dcf9
2 changed files with 2 additions and 1 deletions

View file

@ -948,6 +948,7 @@ include:
project: GNOME/citemplates project: GNOME/citemplates
file: flatpak/flatpak_ci_initiative.yml file: flatpak/flatpak_ci_initiative.yml
#flatpak_ci_initiative.yml is extremely pervasive. See: https://gitlab.gnome.org/GNOME/citemplates/-/issues/35 #flatpak_ci_initiative.yml is extremely pervasive. See: https://gitlab.gnome.org/GNOME/citemplates/-/issues/35
#keep 'ref:' synced with submission section of build/linux/flatpak/3_dist-gimp-flatpakbuilder.sh
ref: 42fbc2526a7680b6a4f284a210e63e3973ea6dae ref: 42fbc2526a7680b6a4f284a210e63e3973ea6dae
dist-flatpak-weekly: dist-flatpak-weekly:

View file

@ -95,7 +95,7 @@ fi
# We take the commands from 'flatpak_ci_initiative.yml' # We take the commands from 'flatpak_ci_initiative.yml'
if [ "$GITLAB_CI" ] && [ "$CI_COMMIT_BRANCH" = "$CI_DEFAULT_BRANCH" ]; then if [ "$GITLAB_CI" ] && [ "$CI_COMMIT_BRANCH" = "$CI_DEFAULT_BRANCH" ]; then
printf "\e[0Ksection_start:`date +%s`:${FLATPAK}_submission[collapsed=true]\r\e[0KPublishing $ARCH repo to GNOME nightly\n" printf "\e[0Ksection_start:`date +%s`:${FLATPAK}_submission[collapsed=true]\r\e[0KPublishing $ARCH repo to GNOME nightly\n"
curl https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml --output flatpak_ci_initiative.yml curl https://gitlab.gnome.org/GNOME/citemplates/-/raw/42fbc2526a7680b6a4f284a210e63e3973ea6dae/flatpak/flatpak_ci_initiative.yml --output flatpak_ci_initiative.yml
eval "$(sed -n -e '/flatpak build-update-repo/,/purge/ { s/ - //; p }' flatpak_ci_initiative.yml)" eval "$(sed -n -e '/flatpak build-update-repo/,/purge/ { s/ - //; p }' flatpak_ci_initiative.yml)"
printf "\e[0Ksection_end:`date +%s`:${FLATPAK}_submission\r\e[0K\n" printf "\e[0Ksection_end:`date +%s`:${FLATPAK}_submission\r\e[0K\n"
fi fi