fix: removed additional brackets

This commit is contained in:
ibo
2024-06-19 23:12:32 +02:00
committed by GitHub
parent 2a5eda454b
commit 9de92f3734

View File

@@ -46,7 +46,7 @@ jobs:
echo "Raw commit logs:"
echo "$COMMIT_LOGS"
# Replace commit messages with pull request links
COMMIT_LOGS=$(echo "$COMMIT_LOGS" | sed -E 's/(#([0-9]+))/ [#\2](https:\/\/github.com\/rebelonion\/Dantotsu\/pull\/\2)/g')
COMMIT_LOGS=$(echo "$COMMIT_LOGS" | sed -E 's/#([0-9]+)/[#\1](https:\/\/github.com\/rebelonion\/Dantotsu\/pull\/\1)/g')
# Debugging: Print the processed commit logs
echo "Processed commit logs:"
echo "$COMMIT_LOGS"