Skip to content
Snippets Groups Projects
Commit 43e7a3be authored by Gav Wood's avatar Gav Wood
Browse files

Another CI fix

parent e21a6bf7
No related merge requests found
......@@ -54,17 +54,14 @@ runtime_changes=""
while IFS= read -r line; do
pr_id=$(echo "$line" | sed -E 's/.*#([0-9]+)\)$/\1/')
if has_label 'paritytech/polkadot' "$pr_id" 'B1-silent'; then
continue
fi
# If the PR has a runtimenoteworthy label, add to the runtime_changes section
if has_label 'paritytech/polkadot' "$pr_id" 'B1-runtimenoteworthy'; then
if has_label 'paritytech/polkadot' "$pr_id" 'B2-runtimenoteworthy'; then
runtime_changes="$runtime_changes
$line"
else
# otherwise, add the PR to the main list of changes
release_text="$release_text
fi
# If the PR has a releasenotes label, add to the release section
if has_label 'paritytech/polkadot' "$pr_id" 'B1-releasenotes'; then
release_text="$release_text
$line"
fi
done <<< "$(sanitised_git_logs "$last_version" "$version" | \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment