diff options
author | EuAndreh <eu@euandre.org> | 2021-07-27 11:31:02 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-07-27 11:58:44 -0300 |
commit | 9e84b309cd0807ff029660d2f42a2397334efb2b (patch) | |
tree | d10f193190726891ff739ecb6655359166947bb5 /aux/workflow/assert-changelog.sh | |
parent | TODOs.md: Add #task-1f103822-c865-254c-f6b6-4968f2fb473e (diff) | |
download | git-permalink-9e84b309cd0807ff029660d2f42a2397334efb2b.tar.gz git-permalink-9e84b309cd0807ff029660d2f42a2397334efb2b.tar.xz |
aux/: Stick to 80 columns
Diffstat (limited to 'aux/workflow/assert-changelog.sh')
-rwxr-xr-x | aux/workflow/assert-changelog.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/aux/workflow/assert-changelog.sh b/aux/workflow/assert-changelog.sh index 7f9117f..ca86407 100755 --- a/aux/workflow/assert-changelog.sh +++ b/aux/workflow/assert-changelog.sh @@ -43,8 +43,9 @@ assert() { DATE="$1" VVERSION="$2" VERSION="${2#v}" - CHANGELOG_ENTRY="# [$VERSION](https://git.euandreh.xyz/$PROJECT/commit/?id=$VVERSION) - $DATE" - + CHANGELOG_ENTRY="$(printf \ + '# [%s](https://git.euandreh.xyz/%s/commit/?id=%s) - %s' \ + "$VERSION" "$PROJECT" "$VVERSION" "$DATE")" if ! grep -qF "$CHANGELOG_ENTRY" CHANGELOG.md; then echo "Missing '$CHANGELOG_ENTRY' entry from CHANGELOG.md" >&2 exit 1 |