diff options
| author | EuAndreh <eu@euandre.org> | 2021-03-06 16:10:07 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-03-06 16:10:07 -0300 |
| commit | 3f25843e1e34858c64eabf2c985e85eae24916bb (patch) | |
| tree | 8e35f25364994b88dd7f2b21385af98adbd86fc7 /aux/workflow | |
| parent | fake-symlinks.sh: Add listatic (diff) | |
| download | dotfiles-3f25843e1e34858c64eabf2c985e85eae24916bb.tar.gz dotfiles-3f25843e1e34858c64eabf2c985e85eae24916bb.tar.xz | |
fake-symlinks: aux/workflow/dist.sh: Assert commit message
Diffstat (limited to 'aux/workflow')
| -rwxr-xr-x | aux/workflow/dist.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/aux/workflow/dist.sh b/aux/workflow/dist.sh index afe2c92e..0ae0ec42 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" |
