diff --git a/.travis.yml b/.travis.yml index a1cf389..27ed20d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,7 +50,7 @@ matrix: - mkdir -p releases - npx pkg -t node12.13.1-osx-x64 cli-dist.js -o ckb-transaction-dumper - tar czf releases/$REL_PKG ckb-transaction-dumper README.md LICENSE - - name: Package for linux + - name: Package for windows if: 'tag IS present' os: linux dist: bionic @@ -59,3 +59,12 @@ matrix: - mkdir -p releases - npx pkg -t node12.13.1-win-x64 cli-dist.js -o ckb-transaction-dumper.exe - tar czf releases/$REL_PKG ckb-transaction-dumper.exe README.md LICENSE + - name: Package node script + if: 'tag IS present' + os: linux + dist: bionic + env: REL_PKG=ckb-transaction-dumper_${TRAVIS_TAG}_node_executable_script.tar.gz + script: + - mkdir -p releases + - cp cli-dist.js ckb-transaction-dumper + - tar czf releases/$REL_PKG ckb-transaction-dumper README.md LICENSE diff --git a/package-lock.json b/package-lock.json index f0e8482..fd7896f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ckb-transaction-dumper", - "version": "0.2.4", + "version": "0.2.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 58289a8..b0a5832 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ckb-transaction-dumper", - "version": "0.2.4", + "version": "0.2.5", "description": "CKB Transaction Dumper, used together with ckb-standalone-debugger", "bin": { "ckb-transaction-dumper": "./cli-dist.js"