Skip to content

Commit

Permalink
Package executable script as well
Browse files Browse the repository at this point in the history
  • Loading branch information
xxuejie committed Apr 1, 2020
1 parent eae423d commit aa9157f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit aa9157f

Please sign in to comment.