diff options
author | Paweł Krupa <pawel@krupa.net.pl> | 2018-12-19 10:37:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-19 10:37:32 +0100 |
commit | a6d6081ac2635979097eabf0169fb71642f2be97 (patch) | |
tree | 860301a82349af0fae7092ce06aa3e54ea99ed5d | |
parent | 8c09913cd540608710e07a8f9160ec7354f7cf67 (diff) |
Update labeler.sh
-rwxr-xr-x | .travis/labeler.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/labeler.sh b/.travis/labeler.sh index e69002b670..e8d7d228df 100755 --- a/.travis/labeler.sh +++ b/.travis/labeler.sh @@ -16,7 +16,7 @@ new_labels() { # remove duplicate quotes in case parameters were already quoted LABELS="${LABELS//\"\"/\"}" echo "-------- Assigning labels to #${ISSUE}: ${LABELS} --------" - curl -H "Authorization: token $GITHUB_TOKEN" -d "{\"labels\":[${LABELS}]}" -X POST "${URL}" &>/dev/null + curl -H "Authorization: token $GITHUB_TOKEN" -d "{\"labels\":[${LABELS}]}" -X PUT "${URL}" &>/dev/null } if [ "$GITHUB_TOKEN" == "" ]; then |