From aa9e437d429898a7aa33606dddb8a3bb98e85fe4 Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 22 Sep 2025 12:39:23 +0200 Subject: [PATCH] tools: better logic for the splash image text. Change of series must always have their own splash image (which will stay the same within the whole series). Development releases though will have a new splash image most of the time (but it is not mandatory). See rule edicted in commit Infrastructure/gimp-web-devel@061f544. --- tools/release-stats.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/release-stats.sh b/tools/release-stats.sh index f826f9f984..b1c33c19c9 100755 --- a/tools/release-stats.sh +++ b/tools/release-stats.sh @@ -235,7 +235,15 @@ count_data_contributors 'icons/*.svg icons/*.png' "%d icon designers: %s" count_data_contributors 'cursors' "%d cursor designers: %s" count_data_contributors 'brushes' "%d brush designers: %s" count_data_contributors 'patterns' "%d pattern designers: %s" -echo " - TODO: splash author." +if [ "$prevmajor" -ne "$major" ] || [ "$prevminor" -ne "$minor" ] || [ $((minor%2)) -eq 1 ]; then + # Micro releases don't have a splash update (expect optionally + # development releases). + if [ $((minor%2)) -eq 0 ]; then + echo " - The splash image for the $major.$minor series was authored by TODO under license TODO." + else + echo " - [OPTIONAL] This new development splash image was authored by TODO under license TODO." + fi +fi echo echo "Contributions on other repositories in the GIMPverse (order is determined by"