Browse Source

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

jzhang046 1 year ago
parent
commit
1aa58d42a5
1 changed files with 1 additions and 1 deletions
  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
   }