Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Commit

Permalink
wip github release
Browse files Browse the repository at this point in the history
  • Loading branch information
jgermade committed Mar 22, 2017
1 parent 20fd00f commit d07d539
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ 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 -k -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 -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:
echo ${RELEASE_URL}
@true
Expand Down

0 comments on commit d07d539

Please sign in to comment.