From 6ff811cf78c3dcff642ecc5a848fc94071acb1ec Mon Sep 17 00:00:00 2001 From: Xuejie Xiao Date: Wed, 10 Jan 2024 06:00:20 +0000 Subject: [PATCH] Fix tar command on windows --- .github/workflows/publish.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 46d3065..670720c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -67,7 +67,7 @@ jobs: - run: npm install - run: npm run build - run: npx pkg --options "no-warnings" -t node18-win-x64 cli-dist.js -o ckb-transaction-dumper - - run: tar czf ckb-transaction-dumper_v${{ github.ref_name }}_win_x86_64.tar.gz ckb-transaction-dumper README.md LICENSE + - run: tar -czf ckb-transaction-dumper_v${{ github.ref_name }}_win_x86_64.tar.gz ckb-transaction-dumper README.md LICENSE - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') diff --git a/package-lock.json b/package-lock.json index ad40f77..a2d899c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ckb-transaction-dumper", - "version": "0.3.2", + "version": "0.3.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ckb-transaction-dumper", - "version": "0.3.2", + "version": "0.3.3", "license": "MIT", "bin": { "ckb-transaction-dumper": "cli-dist.js" diff --git a/package.json b/package.json index c6e11e2..b4520e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ckb-transaction-dumper", - "version": "0.3.2", + "version": "0.3.3", "description": "CKB Transaction Dumper, used together with ckb-standalone-debugger", "bin": { "ckb-transaction-dumper": "./cli-dist.js"