fix: wercker

This commit is contained in:
Nicolas Giard 2017-08-29 21:23:10 -04:00 committed by GitHub
parent 43195b52c0
commit a920ce6c2a

View File

@ -78,7 +78,7 @@ deploy-github:
code: | code: |
tar -chzf wiki-js.tar.gz assets server config.sample.yml package.json wiki.js LICENSE tar -chzf wiki-js.tar.gz assets server config.sample.yml package.json wiki.js LICENSE
tar -chzf node_modules.tar.gz node_modules tar -chzf node_modules.tar.gz node_modules
SEMVER_NEXT=`curl --request POST --url http://beta.requarks.io/api/version/increment --header 'authorization: $WIKIJSORG_TOKEN' --header 'cache-control: no-cache' --header 'content-type: application/json' --data '{"channel": "stable"}'` SEMVER_NEXT=`curl --request POST --url https://beta.requarks.io/api/version/increment --header 'authorization: $WIKIJSORG_TOKEN' --header 'cache-control: no-cache' --header 'content-type: application/json' --data '{"channel": "stable"}'`
- github-create-release: - github-create-release:
token: $GITHUB_TOKEN token: $GITHUB_TOKEN
tag: "v${SEMVER_NEXT}" tag: "v${SEMVER_NEXT}"