Browse Source

fix: wercker

pull/235/head
Nicolas Giard 7 years ago
committed by GitHub
parent
commit
a920ce6c2a
1 changed files with 1 additions and 1 deletions
  1. 2
      wercker.yml

2
wercker.yml

@ -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}"

Loading…
Cancel
Save