Browse Source

fix: github deploy tar

Nicolas Giard 7 years ago
parent
commit
19e4ad9d9c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      wercker.yml

+ 2 - 2
wercker.yml

@@ -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`