aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-06 16:05:09 -0300
committerEuAndreh <eu@euandre.org>2021-03-06 18:17:34 -0300
commit1940eaf87b45fd7c385b7557ef9520bf241669f6 (patch)
tree88ce6f9471e56c3799d1aad7aa56f945055a8d89 /aux/workflow
parentRevert "Makefile: use mv over rsync" (diff)
downloadeuandre.org-1940eaf87b45fd7c385b7557ef9520bf241669f6.tar.gz
euandre.org-1940eaf87b45fd7c385b7557ef9520bf241669f6.tar.xz
Update files under aux/
Diffstat (limited to 'aux/workflow')
-rwxr-xr-xaux/workflow/dist.sh5
1 files changed, 5 insertions, 0 deletions
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"