Skip to content

Commit

Permalink
Add script to help generate PR messages (flutter#8074)
Browse files Browse the repository at this point in the history
* Add script to help generate PR messages

* newline
  • Loading branch information
dnfield authored Mar 8, 2019
1 parent a48cd16 commit 95ef58c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/engine_roll_pr_desc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

if [[ $1 == '' ]]; then
echo 'Usage: engine_roll_pr_desc.sh <from git hash>..<to git hash>'
exit 1
fi
git log --oneline --no-merges --no-color $1 | sed 's/^/flutter\/engine@/g' | sed -e 's/(\(#[0-9]*)\)/\(flutter\/engine\1/g'

0 comments on commit 95ef58c

Please sign in to comment.