From 22317ff2a4b4781cde317c216b579df0de2cd617 Mon Sep 17 00:00:00 2001 From: Xuejie Xiao Date: Wed, 10 Jan 2024 06:10:06 +0000 Subject: [PATCH] Another fix on Windows --- .github/workflows/publish.yml | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 670720c..e2b250f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -67,9 +67,9 @@ 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: Compress-Archive -Path ckb-transaction-dumper, README.md, LICENSE -DestinationPath ckb-transaction-dumper_v${{ github.ref_name }}_win_x86_64.zip - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: ckb-transaction-dumper_v${{ github.ref_name }}_win_x86_64.tar.gz + files: ckb-transaction-dumper_v${{ github.ref_name }}_win_x86_64.zip diff --git a/package-lock.json b/package-lock.json index a2d899c..f6d82af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ckb-transaction-dumper", - "version": "0.3.3", + "version": "0.3.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ckb-transaction-dumper", - "version": "0.3.3", + "version": "0.3.4", "license": "MIT", "bin": { "ckb-transaction-dumper": "cli-dist.js" diff --git a/package.json b/package.json index b4520e3..fdc6098 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ckb-transaction-dumper", - "version": "0.3.3", + "version": "0.3.4", "description": "CKB Transaction Dumper, used together with ckb-standalone-debugger", "bin": { "ckb-transaction-dumper": "./cli-dist.js"