Skip to content

Commit ecb7e53

Browse files
Enhance commit messages with GitHub links
Update commit log formatting in release workflow.
1 parent a8fb7a0 commit ecb7e53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
else
5555
CURRENT=${HASHES[0]}
5656
PREVIOUS=${HASHES[1]}
57-
COMMITS=$(git log $PREVIOUS..$CURRENT --pretty=format:"- %s")
57+
COMMITS=$(echo "$COMMITS" | sed -E "s/#([0-9]+)/[#\1](https:\/\/github.com\/$REPO\/commits?query=%23\1)/g")
5858
fi
5959
6060
echo "## 🕒 Changes:" > CHANGELOG.md
@@ -68,4 +68,4 @@ jobs:
6868
name: OpenKernel ${{ steps.version.outputs.version }}
6969
body_path: CHANGELOG.md
7070
files: |
71-
package/OpenKernel_${{ steps.version.outputs.version }}.zip
71+
package/OpenKernel_${{ steps.version.outputs.version }}.zip

0 commit comments

Comments
 (0)