mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-28 21:50:26 +08:00
scripts/changelog: Generate links to commits on seed.radicle.dev
Generate the links to the commits, on seed.radicle.dev, so that reviewers of the changelog can easily navigate to the commits.
This commit is contained in:
+12
-2
@@ -1,6 +1,12 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
render_commit_footnotes() {
|
||||
# shellcheck disable=SC2016
|
||||
git log --pretty=format:'[`%h`]: https://radicle.network/nodes/seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/commits/%H' "$1"
|
||||
echo
|
||||
}
|
||||
|
||||
# Version from which to generate the changelog.
|
||||
from=""
|
||||
|
||||
@@ -67,9 +73,13 @@ echo "This release contains $ncommits commit(s) by $ncontribs contributor(s)."
|
||||
echo
|
||||
|
||||
# shellcheck disable=SC2016
|
||||
git log --pretty=format:'* `%h` **%s** *<%ae>*' "$range"
|
||||
|
||||
git log --pretty=format:'* [`%h`] **%s** *<%ae>*' "$range"
|
||||
echo
|
||||
echo
|
||||
|
||||
render_commit_footnotes "$range"
|
||||
echo
|
||||
|
||||
echo "## Checksums"
|
||||
echo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user