mirror of
https://github.com/PurpurMC/Purpur.git
synced 2025-01-30 12:31:03 +08:00
[ci-skip] Fix extra 'r' in commit message
This commit is contained in:
parent
a21f907ced
commit
44d6b510e7
@ -7,7 +7,7 @@
|
||||
# flag: --pufferfish HASH - the commit hash to use for comparing commits between pufferfish (pufferfish-gg/Pufferfish/compare/HASH...HEAD)
|
||||
|
||||
function getCommits() {
|
||||
echo "$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/"$1"/compare/"$2"...HEAD | jq -r '.commits[] | "'"$1"'r@\(.sha[:7]) \(.commit.message | split("\r\n")[0] | split("\n")[0])"')"
|
||||
echo "$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/"$1"/compare/"$2"...HEAD | jq -r '.commits[] | "'"$1"'@\(.sha[:7]) \(.commit.message | split("\r\n")[0] | split("\n")[0])"')"
|
||||
}
|
||||
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user