Skip to content

Commit

Permalink
scripts/bump-pebble: markdown format commit links
Browse files Browse the repository at this point in the history
Release note: none.
Epic: none.
  • Loading branch information
dt committed Dec 20, 2023
1 parent c66362c commit ca71eb9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/bump-pebble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit ca71eb9

Please sign in to comment.