From 44d6b510e7b88042ce802118f48ef34c10f8b513 Mon Sep 17 00:00:00 2001 From: Encode42 Date: Tue, 1 Feb 2022 10:22:31 -0500 Subject: [PATCH] [ci-skip] Fix extra 'r' in commit message --- scripts/upstreamCommit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upstreamCommit.sh b/scripts/upstreamCommit.sh index 4b247afab..3745ce66a 100755 --- a/scripts/upstreamCommit.sh +++ b/scripts/upstreamCommit.sh @@ -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])"')" } (