From 97c39e15a062482cd6f82befeb7c65b550a303f1 Mon Sep 17 00:00:00 2001 From: huangshan Date: Sun, 19 Apr 2026 22:19:28 +0800 Subject: [PATCH 1/3] chore(release): v0.0.25 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复 CI 构建产物命名与 install.js 不一致导致 404 - 提取 parse_proc_net_entries 纯解析函数修复 Linux CI 测试 - 重组文档结构,按语言和主题拆分到 docs/ 目录 --- .github/workflows/release.yml | 8 ++++---- Cargo.toml | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36495a5..1c4642c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,25 +127,25 @@ jobs: runner: windows-latest target: x86_64-pc-windows-msvc binary: ziro.exe - asset: ziro-windows-x86_64.zip + asset: windows-x64.zip - name: Linux x64 os: linux runner: ubuntu-latest target: x86_64-unknown-linux-gnu binary: ziro - asset: ziro-linux-x86_64.zip + asset: linux-x64.zip - name: Linux ARM64 os: linux runner: ubuntu-latest target: aarch64-unknown-linux-gnu binary: ziro - asset: ziro-linux-aarch64.zip + asset: linux-aarch64.zip - name: macOS ARM64 os: macos runner: macos-latest target: aarch64-apple-darwin binary: ziro - asset: ziro-macos-aarch64.zip + asset: macos-aarch64.zip steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@1.88.0 diff --git a/Cargo.toml b/Cargo.toml index 313979a..9656a85 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ziro" -version = "0.0.24" +version = "0.0.25" edition = "2024" authors = ["huangshan"] description = "Cross-platform port management tool - quickly find and kill processes occupying ports" diff --git a/package.json b/package.json index 720f50f..fdfd291 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ithinku/ziro", - "version": "0.0.24", + "version": "0.0.25", "description": "跨平台端口管理工具 - 快速查找和终止占用端口的进程", "main": "bin/ziro.js", "bin": { From 075cb56873bd62e6958d0b38a7fcbcb646eb51b0 Mon Sep 17 00:00:00 2001 From: huangshan Date: Sun, 19 Apr 2026 22:20:49 +0800 Subject: [PATCH 2/3] chore(release): v0.0.26 --- Cargo.toml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9656a85..cfe68ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ziro" -version = "0.0.25" +version = "0.0.26" edition = "2024" authors = ["huangshan"] description = "Cross-platform port management tool - quickly find and kill processes occupying ports" diff --git a/package.json b/package.json index fdfd291..600eccb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ithinku/ziro", - "version": "0.0.25", + "version": "0.0.26", "description": "跨平台端口管理工具 - 快速查找和终止占用端口的进程", "main": "bin/ziro.js", "bin": { From 1d7c9f06eb202d0ef993450bbd7e75312f5c9932 Mon Sep 17 00:00:00 2001 From: huangshan Date: Sun, 19 Apr 2026 22:30:23 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix(ci):=20=E7=A7=BB=E9=99=A4=20create-rele?= =?UTF-8?q?ase=20=E4=B8=AD=E9=97=B4=E5=B1=82=E4=BF=AE=E5=A4=8D=20build=20m?= =?UTF-8?q?atrix=20=E4=B8=8D=E5=B1=95=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tag push 触发时 create-release 依赖 prepare (skipped), 导致 matrix job 无法正确展开,build 被跳过。 --- .github/workflows/release.yml | 41 +++-------------------------------- 1 file changed, 3 insertions(+), 38 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1c4642c..97b6421 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,6 @@ jobs: name: Prepare Release if: github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest - outputs: - version: ${{ steps.version.outputs.version }} steps: - uses: actions/checkout@v4 with: @@ -82,41 +80,8 @@ jobs: git tag "v$VERSION" git push origin HEAD:${{ github.ref_name }} --tags - - name: Output version - id: version - run: echo "version=v${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT - - create-release: - name: Create Release - needs: [prepare] - if: always() && needs.prepare.result != 'failure' - runs-on: ubuntu-latest - outputs: - version: ${{ steps.get_version.outputs.version }} - steps: - - uses: actions/checkout@v4 - - name: Get version - id: get_version - run: | - if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then - echo "version=v${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT - else - echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - fi - - name: Create Release - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ steps.get_version.outputs.version }} - name: Release ${{ steps.get_version.outputs.version }} - draft: false - prerelease: false - generate_release_notes: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - build: name: Build - ${{ matrix.platform.name }} - needs: create-release runs-on: ${{ matrix.platform.runner }} strategy: fail-fast: false @@ -195,7 +160,7 @@ jobs: - name: Upload Release Assets uses: softprops/action-gh-release@v2 with: - tag_name: ${{ needs.create-release.outputs.version }} + tag_name: ${{ github.ref_name }} files: | ${{ matrix.platform.asset }} ${{ matrix.platform.asset }}.sha256 @@ -204,7 +169,7 @@ jobs: publish-crates: name: Publish to crates.io - needs: [create-release, build] + needs: [build] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -215,7 +180,7 @@ jobs: publish-npm: name: Publish to npm - needs: [create-release, build] + needs: [build] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4