summaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorPaweł Krupa <pawel@krupa.net.pl>2018-12-19 10:37:32 +0100
committerGitHub <noreply@github.com>2018-12-19 10:37:32 +0100
commita6d6081ac2635979097eabf0169fb71642f2be97 (patch)
tree860301a82349af0fae7092ce06aa3e54ea99ed5d /.travis
parent8c09913cd540608710e07a8f9160ec7354f7cf67 (diff)
Update labeler.sh
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/labeler.sh2
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