Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Releasing rc4 – Rhinoceros #6515

Merged
merged 4 commits into from
Jun 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .maintain/gitlab/generate_changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@ while IFS= read -r line; do
if has_label 'paritytech/substrate' "$pr_id" 'B0-silent'; then
continue
fi
if has_label 'paritytech/substrate' "$pr_id" 'B1-runtimenoteworthy'; then
runtime_changes="$runtime_changes
if has_label 'paritytech/substrate' "$pr_id" 'B3-apinoteworthy' ; then
api_changes="$api_changes
$line"
fi
if has_label 'paritytech/substrate' "$pr_id" 'B1-clientnoteworthy'; then
if has_label 'paritytech/substrate' "$pr_id" 'B5-clientnoteworthy'; then
client_changes="$client_changes
$line"
fi
if has_label 'paritytech/substrate' "$pr_id" 'B1-apinoteworthy' ; then
api_changes="$api_changes
if has_label 'paritytech/substrate' "$pr_id" 'B7-runtimenoteworthy'; then
runtime_changes="$runtime_changes
$line"
continue
fi
done <<< "$all_changes"

Expand Down
2 changes: 1 addition & 1 deletion .maintain/gitlab/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading