aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-changelog.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-17 03:17:19 -0300
committerEuAndreh <eu@euandre.org>2021-06-17 03:17:19 -0300
commite3726cf06bd03816f7fd66702bf59709f8495c52 (patch)
tree876e98c1eb729dcabf9e0a0c461e1a089e294c12 /aux/workflow/assert-changelog.sh
parentREADME.md: s/Extratools/Extra tools/ (diff)
downloadgit-permalink-e3726cf06bd03816f7fd66702bf59709f8495c52.tar.gz
git-permalink-e3726cf06bd03816f7fd66702bf59709f8495c52.tar.xz
Update aux/workflow/assert-changelog.sh
Diffstat (limited to 'aux/workflow/assert-changelog.sh')
-rwxr-xr-xaux/workflow/assert-changelog.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/aux/workflow/assert-changelog.sh b/aux/workflow/assert-changelog.sh
index dc8867f..61cd916 100755
--- a/aux/workflow/assert-changelog.sh
+++ b/aux/workflow/assert-changelog.sh
@@ -2,10 +2,12 @@
set -eu
TLD="$(cat aux/tld.txt)"
-PROJECT="$1"
+PROJECT_UC="$1"
+PROJECT="$2"
+shift
shift
-HOMEPAGE_LINK="Changelog for [$PROJECT](https://$TLD/$PROJECT/)."
+HOMEPAGE_LINK="Changelog for [$PROJECT_UC](https://$TLD/$PROJECT/)."
if ! grep -qF "$HOMEPAGE_LINK" CHANGELOG.md; then
echo "Missing link to homepage in CHANGELOG.md:" >&2