From a6d6081ac2635979097eabf0169fb71642f2be97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Krupa?= Date: Wed, 19 Dec 2018 10:37:32 +0100 Subject: Update labeler.sh --- .travis/labeler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis') 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 -- cgit v1.2.3