Skip to content

Commit af26b78

Browse files
committed
Update makesrcdist script to look for correct CHANGES.md strings.
1 parent 822ce85 commit af26b78

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

scripts/makesrcdist

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,15 @@ else
5959
exit 1
6060
fi
6161

62-
temp="$(head -6 CHANGES.md | grep "^libcups v" | awk '{print $2}')"
62+
temp="$(head -6 CHANGES.md | grep "^v" | awk '{print $1}')"
6363
if test "$temp" != "v$version"; then
64-
echo "Still need to add Changes in v$version in CHANGES.md (saw $temp)"
64+
echo "Still need to add v$version changes to CHANGES.md (saw $temp)"
65+
exit 1
66+
fi
67+
68+
temp="$(head -6 CHANGES.md | grep "^v" | awk '{print $3}')"
69+
if test "$temp" = "YYYY-MM-DD"; then
70+
echo "Still need to set release date in CHANGES.md (saw $temp)"
6571
exit 1
6672
fi
6773

0 commit comments

Comments
 (0)