From bb0e37f23a1b0d5108f123fa88724c078166438e Mon Sep 17 00:00:00 2001 From: s3krit Date: Mon, 8 Jun 2020 21:50:00 +0200 Subject: [PATCH] Update lib.sh (#1203) Changes behaviour of `sanitised_git_logs` to collate all changes when operating on separate branches. --- polkadot/scripts/gitlab/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/scripts/gitlab/lib.sh b/polkadot/scripts/gitlab/lib.sh index 40e25b823b..9ceb58f404 100755 --- a/polkadot/scripts/gitlab/lib.sh +++ b/polkadot/scripts/gitlab/lib.sh @@ -5,7 +5,7 @@ api_base="https://api.github.com/repos" # Function to take 2 git tags/commits and get any lines from commit messages # that contain something that looks like a PR reference: e.g., (#1234) sanitised_git_logs(){ - git --no-pager log --pretty=format:"%s" "$1..$2" | + git --no-pager log --pretty=format:"%s" "$1...$2" | # Only find messages referencing a PR grep -E '\(#[0-9]+\)' | # Strip any asterisks