From ab56eb896cad6096c2a4ea5ab99370b282d87058 Mon Sep 17 00:00:00 2001 From: Xuejie Xiao Date: Wed, 10 Jan 2024 06:13:43 +0000 Subject: [PATCH] Windows binary has the additional .exe suffix --- .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 e2b250f..2537fcc 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: Compress-Archive -Path ckb-transaction-dumper, README.md, LICENSE -DestinationPath ckb-transaction-dumper_v${{ github.ref_name }}_win_x86_64.zip + - run: Compress-Archive -Path ckb-transaction-dumper.exe, 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/') diff --git a/package-lock.json b/package-lock.json index f6d82af..5e2190f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ckb-transaction-dumper", - "version": "0.3.4", + "version": "0.3.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ckb-transaction-dumper", - "version": "0.3.4", + "version": "0.3.5", "license": "MIT", "bin": { "ckb-transaction-dumper": "cli-dist.js" diff --git a/package.json b/package.json index fdc6098..9189ea2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ckb-transaction-dumper", - "version": "0.3.4", + "version": "0.3.5", "description": "CKB Transaction Dumper, used together with ckb-standalone-debugger", "bin": { "ckb-transaction-dumper": "./cli-dist.js"