diff options
Diffstat (limited to '')
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rwxr-xr-x | aux/workflow/assert-changelog.sh | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 948a660..f109e6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ ## Security --> +Changelog for [remembering](https://euandreh.xyz/remembering/). + # [0.2.1](https://git.euandreh.xyz/remembering/commit/?id=v0.2.1) - 2021-02-23 ## Removed Revert to plain `Makefile` over `./configure` + `Makefile.in`. diff --git a/aux/workflow/assert-changelog.sh b/aux/workflow/assert-changelog.sh index bef610b..dc8867f 100755 --- a/aux/workflow/assert-changelog.sh +++ b/aux/workflow/assert-changelog.sh @@ -1,9 +1,18 @@ #!/bin/sh set -eu +TLD="$(cat aux/tld.txt)" PROJECT="$1" shift +HOMEPAGE_LINK="Changelog for [$PROJECT](https://$TLD/$PROJECT/)." + +if ! grep -qF "$HOMEPAGE_LINK" CHANGELOG.md; then + echo "Missing link to homepage in CHANGELOG.md:" >&2 + echo "$HOMEPAGE_LINK" + exit 1 +fi + assert() { DATE="$1" VVERSION="$2" |