diff --git a/tasks/publish-packages.coffee b/tasks/publish-packages.coffee index c1f3b1727..439ccf623 100644 --- a/tasks/publish-packages.coffee +++ b/tasks/publish-packages.coffee @@ -44,10 +44,11 @@ module.exports = (grunt) -> url: "#{baseUrl}/#{packageName}/versions" json: true method: 'POST' - body: - tag: tag headers: authorization: token + body: + tag: tag + request.get requestSettings, (error, response, body={}) -> if error? callback(error)