diff --git a/.travis.yml b/.travis.yml index 2a1c745..6e02580 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,8 @@ deploy: tags: true - provider: releases api_key: $GITHUB_TOKEN - file_glob: true - file: bin/* + file: + - "bin/node10-win-x64.tar.gz" + - "bin/node10-macos-x64.tar.gz" on: tags: true diff --git a/package-lock.json b/package-lock.json index 208d98b..354e0c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "forge-cli-utils", - "version": "0.6.2", + "version": "0.6.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 1d98d5a..190a3ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "forge-cli-utils", - "version": "0.6.2", + "version": "0.6.3", "description": "Command line tools for Autodesk Forge services.", "bin": { "forge-dm": "src/forge-dm.js", @@ -8,8 +8,9 @@ "forge-md": "src/forge-md.js" }, "scripts": { - "build": "npm run build:win", - "build:win": "export FORGE_CLI_ARCH=node10-win-x64 && npm run pack && tar czf bin/forge-cli-win.tar.gz bin/$FORGE_CLI_ARCH/* && rm -rf bin/$FORGE_CLI_ARCH", + "build": "npm run build:win && npm run build:macos", + "build:win": "export FORGE_CLI_ARCH=node10-win-x64 && npm run pack && tar czf bin/$FORGE_CLI_ARCH.tar.gz bin/$FORGE_CLI_ARCH/* && rm -rf bin/$FORGE_CLI_ARCH", + "build:macos": "export FORGE_CLI_ARCH=node10-macos-x64 && npm run pack && tar czf bin/$FORGE_CLI_ARCH.tar.gz bin/$FORGE_CLI_ARCH/* && rm -rf bin/$FORGE_CLI_ARCH", "pack": "npm run pack:dm && npm run pack:md && npm run pack:da", "pack:dm": "pkg src/forge-dm.js --targets $FORGE_CLI_ARCH --out-path bin/$FORGE_CLI_ARCH", "pack:md": "pkg src/forge-md.js --targets $FORGE_CLI_ARCH --out-path bin/$FORGE_CLI_ARCH",