summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjzhang046 <25826821+jzhang046@users.noreply.github.com>2022-11-27 17:54:24 +0800
committerGitHub <noreply@github.com>2022-11-27 10:54:24 +0100
commit1aa58d42a52b8fa39f16ad169fc405f276c36ae5 (patch)
tree8f42468ac05b89f5f655c80b7f4af9d11cb3957e
parentc35ca17258dd870f1724eeb92e9077177d2e3bed (diff)
downloadzsh-1aa58d42a52b8fa39f16ad169fc405f276c36ae5.tar.gz
zsh-1aa58d42a52b8fa39f16ad169fc405f276c36ae5.tar.bz2
zsh-1aa58d42a52b8fa39f16ad169fc405f276c36ae5.zip
fix(changelog): generate correct commit link in markdown (#11356)
-rwxr-xr-xtools/changelog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/changelog.sh b/tools/changelog.sh
index 6489a3cb2..a5cc468f2 100755
--- a/tools/changelog.sh
+++ b/tools/changelog.sh
@@ -209,7 +209,7 @@ function display-release {
case "$output" in
raw) printf '%s' "$hash" ;;
text) printf '\e[33m%s\e[0m' "$hash" ;; # red
- md) printf '[`%s`](https://github.com/ohmyzsh/ohmyzsh/commit/%s)' "$hash" ;;
+ md) printf '[`%s`](https://github.com/ohmyzsh/ohmyzsh/commit/%s)' "$hash" "$hash" ;;
esac
}