mirror of https://github.com/CGAL/cgal
Add a new script that helps dealing with `integration`
This commit is contained in:
parent
3e6499700e
commit
0f51c426d3
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
: ${GITHUB_HUB:=$(which hub)}
|
||||||
|
|
||||||
|
if ! [ -x "${GITHUB_HUB}" ]; then
|
||||||
|
echo 'Needs Github hub: https://github.com/github/hub' >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for pr in $(python3 ./Scripts/developer_scripts/list_pull_requests.py "$1" --unmerged); do
|
||||||
|
if ! hub merge $pr; then
|
||||||
|
echo $p;
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
Loading…
Reference in New Issue