浏览代码

fix(changelog): generate correct commit link in markdown (#11356)

jzhang046 2 年之前
父节点
当前提交
1aa58d42a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/changelog.sh

+ 1 - 1
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
   }