From 1940eaf87b45fd7c385b7557ef9520bf241669f6 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 6 Mar 2021 16:05:09 -0300 Subject: Update files under aux/ --- aux/workflow/dist.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'aux/workflow') diff --git a/aux/workflow/dist.sh b/aux/workflow/dist.sh index afe2c92..0ae0ec4 100755 --- a/aux/workflow/dist.sh +++ b/aux/workflow/dist.sh @@ -16,6 +16,11 @@ if [ "$DATE" != "$(git log -1 --format=%cd --date=short HEAD)" ]; then exit 1 fi +if [ "Release $VVERSION" != "$(git log --format=%B -1 HEAD | head -n1)" ]; then + echo "Commit message isn't 'Release $VVERSION'." >&2 + exit 1 +fi + sh aux/workflow/assert-changelog.sh "$DATE" "$VERSION" "$PROJECT" git tag "$VVERSION" -- cgit v1.2.3