File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ runtime_changes=""
1111api_changes=" "
1212client_changes=" "
1313changes=" "
14+ migrations=" "
1415
1516while IFS= read -r line; do
1617 pr_id=$( echo " $line " | sed -E ' s/.*#([0-9]+)\)$/\1/' )
@@ -29,14 +30,19 @@ $line"
2930 fi
3031 if has_label ' paritytech/substrate' " $pr_id " ' B7-runtimenoteworthy' ; then
3132 runtime_changes=" $runtime_changes
33+ $line "
34+ fi
35+ if has_label ' paritytech/substrate' " $pr_id " ' D1-runtime-migration' ; then
36+ migrations=" $migrations
3237$line "
3338 fi
3439done <<< " $all_changes"
3540
3641# Make the substrate section if there are any substrate changes
3742if [ -n " $runtime_changes " ] ||
3843 [ -n " $api_changes " ] ||
39- [ -n " $client_changes " ]; then
44+ [ -n " $client_changes " ] ||
45+ [ -n " $migrations " ]; then
4046 changes=$( cat << EOF
4147Substrate changes
4248-----------------
@@ -68,5 +74,12 @@ $api_changes"
6874
6975$changes "
7076fi
77+ if [ -n " $migrations " ]; then
78+ changes=" $changes
79+
80+ Runtime Migrations
81+ ------------------
82+ $migrations "
83+ fi
7184
7285echo " $changes "
You can’t perform that action at this time.
0 commit comments