build/linux: Add a comment about CI_COMMIT_TAG message too

This commit is contained in:
Bruno Lopes 2025-12-23 18:54:49 -03:00
parent 7c913919ce
commit d24f4fd1c7

View file

@ -57,6 +57,7 @@ printf "\e[0Ksection_end:`date +%s`:deps_install\r\e[0K\n"
printf "\e[0Ksection_start:`date +%s`:babl_build[collapsed=true]\r\e[0KBuilding babl\n"
if [ "$CI_COMMIT_TAG" ] && grep 'grade: devel' build/linux/snap/snapcraft.yaml >/dev/null 2>&1; then
#see: https://developer.gimp.org/core/maintainer/release/
printf '\033[31m(ERROR)\033[0m: non-tagged babl and GEGL source should not be used on CI_COMMIT_TAG pipelines. Please, change grade value to stable on snapcraft.yaml\n'
exit 1
fi