diff --git a/scripts/build/github-tagging.sh b/scripts/build/github-tagging.sh index 306b8ddaa0..6dbf222671 100755 --- a/scripts/build/github-tagging.sh +++ b/scripts/build/github-tagging.sh @@ -18,10 +18,10 @@ function ghtag { add=$4 remove=$5 - curl -s -H "Authorization: token $PR_VALIDATOR_GH_TOKEN" https://api.github.com/repos/$owner/$repo/issues/$issue/labels -X POST -d $add + curl -s -H "Authorization: token $PR_VALIDATOR_GH_TOKEN" https://api.github.com/repos/$owner/$repo/issues/$issue/labels -X POST -d $add > /dev/null for d in $remove do - curl -s -H "Authorization: token $PR_VALIDATOR_GH_TOKEN" https://api.github.com/repos/$owner/$repo/issues/$issue/labels/$d -X DELETE + curl -s -H "Authorization: token $PR_VALIDATOR_GH_TOKEN" https://api.github.com/repos/$owner/$repo/issues/$issue/labels/$d -X DELETE > /dev/null done }