diff options
author | EuAndreh <eu@euandre.org> | 2021-06-16 14:00:22 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-16 14:00:22 -0300 |
commit | f522597ba19662e9c4b84f553726b386bc57725e (patch) | |
tree | ed22bd10d36046304a79fce0ba1f7d64e1d2f755 /aux | |
parent | TODOs.md: Add #question-9ad11485-c244-bf17-f83b-b627db09fab4 (diff) | |
download | remembering-f522597ba19662e9c4b84f553726b386bc57725e.tar.gz remembering-f522597ba19662e9c4b84f553726b386bc57725e.tar.xz |
CHANGELOG.md: Add link to home
Diffstat (limited to '')
-rwxr-xr-x | aux/workflow/assert-changelog.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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" |