Commit f5ce3858 authored by Chris Siefert's avatar Chris Siefert
Browse files

MueLu: Adding (non-team) reviewers to makepr.sh

parent 4a8f0bb2
......@@ -104,7 +104,7 @@ else
fi
# Add labels
CMD=$(echo curl -i -H $h -d \'{\"reviewers\": [$reviewers]}\' https://api.github.com/repos/$fork/$repo/issues/$PRN/labels)
CMD=$(echo curl -i -H $h -d \'[$labels]\' https://api.github.com/repos/$fork/$repo/issues/$PRN/labels)
eval $CMD >$TMPFILE 2> $TMPFILE
if grep 'AT: AUTOMERGE' $TMPFILE > /dev/null; then
......@@ -118,7 +118,7 @@ fi
# Add reviewers
if [ -z "$reviewers" ]; then :
else
CMD=$(echo curl -i -H $h -d \'[$labels]\' https://api.github.com/repos/$fork/$repo/pulls/$PRN/requested_reviewers)
CMD=$(echo curl -i -H $h -d \'{\"reviewers\": [$reviewers]}\' https://api.github.com/repos/$fork/$repo/pulls/$PRN/requested_reviewers)
eval $CMD >$TMPFILE 2> $TMPFILE
if grep 'review_comments_url' $TMPFILE > /dev/null; then
......
Markdown is supported
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