Skip to content

Commit

Permalink
Merge #148
Browse files Browse the repository at this point in the history
148: hack/relnotes: don't exit if a merge doesn't have any relnote r=zegl a=zegl



Co-authored-by: Gustav Westling <[email protected]>
  • Loading branch information
bors[bot] and zegl committed Jul 12, 2019
2 parents 0155496 + 0b5c80a commit 9948676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/relnotes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ echo "# Changes";
RELNOTE_MERGES=$(git log ${PREV_RELEASE}...HEAD --grep RELNOTE --oneline --merges)
while read -r line; do
COMMIT=$(echo "$line" | awk '{print $1}')
git show "$COMMIT" | rg -o '^\s+([0-9]+):(.*?)\s+RELNOTE:(.*?)\s+```' --multiline-dotall --multiline --replace "* #\$1 \$3";
git show "$COMMIT" | rg -o '^\s+([0-9]+):(.*?)\s+RELNOTE:(.*?)\s+```' --multiline-dotall --multiline --replace "* #\$1 \$3" || true;
done <<< "$RELNOTE_MERGES"

#
Expand Down

0 comments on commit 9948676

Please sign in to comment.