From ca71eb91abf097a833f5bd98ad8fd30468cf6ac9 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 20 Dec 2023 17:58:04 +0000 Subject: [PATCH] scripts/bump-pebble: markdown format commit links Release note: none. Epic: none. --- scripts/bump-pebble.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/bump-pebble.sh b/scripts/bump-pebble.sh index bdff9c5ea91e..b357431ce9d4 100755 --- a/scripts/bump-pebble.sh +++ b/scripts/bump-pebble.sh @@ -64,8 +64,7 @@ if ! git merge-base --is-ancestor $OLD_SHA $NEW_SHA; then exit 1 fi -COMMITS=$(git log --no-merges --pretty='format:%h %s' "$OLD_SHA..$NEW_SHA" | - sed 's#^#https://github.com/cockroachdb/pebble/commit/#') +COMMITS=$(git log --no-merges --pretty='format: * [`%h`](https://github.com/cockroachdb/pebble/commit/%h) %s' "$OLD_SHA..$NEW_SHA") popd echo @@ -93,6 +92,8 @@ go mod tidy git add go.mod go.sum DEPS.bzl build/bazelutil/distdir_files.bzl git commit -m "go.mod: bump Pebble to ${NEW_SHA:0:12} +Changes: + $COMMITS Release note: none.