[Scummvm-git-logs] scummvm master -> 03c75975526d8ac471c736a59695b826746807de

sev- noreply at scummvm.org
Wed Mar 15 22:00:36 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
03c7597552 DEVTOOLS: Added pre-prelease checks for ultima.dat and mm.dat


Commit: 03c75975526d8ac471c736a59695b826746807de
    https://github.com/scummvm/scummvm/commit/03c75975526d8ac471c736a59695b826746807de
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-15T23:00:11+01:00

Commit Message:
DEVTOOLS: Added pre-prelease checks for ultima.dat and mm.dat

Changed paths:
    devtools/release-checks.sh


diff --git a/devtools/release-checks.sh b/devtools/release-checks.sh
index 5d090c2970f..324a3abb55e 100755
--- a/devtools/release-checks.sh
+++ b/devtools/release-checks.sh
@@ -203,6 +203,10 @@ else
 fi
 
 
+###########
+# Release Notes
+###########
+
 echo_n "Checking Release Notes..."
 
 VERSION=`grep SCUMMVM_VERSION base/internal_version.h | awk -F\" '{ print $2 }'`
@@ -225,6 +229,45 @@ else
   echoOk
 fi
 
+###########
+# MM engine
+###########
+
+echo_n "Checking mm.dat..."
+
+fileDate=`git log -1 dists/engine-data/mm.dat | grep Date | sed 's/Date: //'`
+
+num_lines=`git -P log --oneline "--since=$fileDate" devtools/create_mm/files | wc -l`
+
+if [ "$num_lines" -ne "0" ]; then
+  echo "$num_lines unprocessed commits. ${RED}Run 'cd devtools/create_mm/files; zip -r9 ../../../dists/engine-data/mm.dat .'${NC}"
+
+  failPlus
+else
+  echoOk
+fi
+
+
+
+###########
+# Ultima engine
+###########
+
+echo_n "Checking ultima.dat..."
+
+fileDate=`git log -1 dists/engine-data/ultima.dat | grep Date | sed 's/Date: //'`
+
+num_lines=`git -P log --oneline "--since=$fileDate" devtools/create_ultima/files | wc -l`
+
+if [ "$num_lines" -ne "0" ]; then
+  echo "$num_lines unprocessed commits. ${RED}Run 'cd devtools/create_ultima/files; zip -r9 ../../../dists/engine-data/ultima.dat .'${NC}"
+
+  failPlus
+else
+  echoOk
+fi
+
+
 
 ###########
 # Totals




More information about the Scummvm-git-logs mailing list