fix: github deploy tar

This commit is contained in:
Nicolas Giard 2017-08-24 22:58:54 -04:00 committed by GitHub
parent 67758d4a7f
commit 19e4ad9d9c

View File

@ -76,8 +76,8 @@ deploy-github:
- script:
name: package
code: |
tar -chzfv assets server config.sample.yml package.json wiki.js LICENSE wiki-js.tar.gz
tar -chzfv node_modules node_modules.tar.gz
tar -chzfv wiki-js.tar.gz assets server config.sample.yml package.json wiki.js LICENSE
tar -chzfv node_modules.tar.gz node_modules
SEMVER_LAST=`npm show wiki.js version`
chmod +x ./tools/semver_next.sh
SEMVER_NEXT=`./tools/semver_next.sh -p $SEMVER_LAST`