diff --git a/Makefile b/Makefile index 167bba5..0fdaea0 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,11 @@ build: install $(shell npm bin)/rollup src/http-node.js --format cjs --output http-node.js $(shell npm bin)/rollup src/wrapper.js --format cjs --output wrapper.js -github.release: export RELEASE_URL=$(shell curl -I -X POST -H "Content-Type: application/json" "https://api.github.com/repos/kiltjs/http/releases?access_token=${GITHUB_TOKEN}" -d '{"tag_name": "v$(shell npm view spears version)", "target_commitish": "$(git_branch)", "name": "v$(shell npm view spears version)", "body": "", "draft": false, "prerelease": false}' -o /dev/null -w '%{url_effective}' ) +github.release: export RELEASE_URL=$(shell curl -s -X POST -H "Content-Type: application/json" -H "Authorization: Bearer ${GITHUB_TOKEN}" \ + -d '{"tag_name": "v$(shell npm view spears version)", "target_commitish": "$(git_branch)", "name": "v$(shell npm view spears version)", "body": "", "draft": false, "prerelease": false}' \ + -o /dev/null -w '%{url_effective}' "https://api.github.com/repos/kiltjs/http/releases" ) github.release: - echo ${RELEASE_URL} + @echo ${RELEASE_URL} @true publish: diff --git a/bower.json b/bower.json index 2627f1e..133aed2 100644 --- a/bower.json +++ b/bower.json @@ -20,4 +20,4 @@ "test", "tests" ] -} \ No newline at end of file +}