Skip to content

Commit 3dda92f

Browse files
committed
Makefile.toml: fix check-migrations for no Release.toml
If Release.toml is not found, exit the migrations check early. Signed-off-by: Ben Cressey <[email protected]>
1 parent e0e32eb commit 3dda92f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

twoliter/embedded/Makefile.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,11 @@ done'''
563563
script_runner = "bash"
564564
script = [
565565
'''
566+
if [[ ! -s Release.toml ]]; then
567+
echo "No Release.toml found, skipping checks for migrations."
568+
exit 0
569+
fi
570+
566571
# Collect all found problems and report in bulk; patterns become easier to see
567572
problems=()
568573

0 commit comments

Comments
 (0)