From 3642390cd6727fa5f9f08ff2a7a3db34a36c21e1 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 1 Sep 2026 17:31:12 +0800 Subject: [PATCH] fix: refresh bundled docs before packing --- .github/workflows/release.yml | 3 --- packages/rstack/package.json | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80e75760..0dd74c27 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,9 +82,6 @@ jobs: - name: Build run: node --run build - - name: Prepare release - run: node --run release:prepare - - name: Download native packages uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: diff --git a/packages/rstack/package.json b/packages/rstack/package.json index e253b036..ebbb0cd4 100644 --- a/packages/rstack/package.json +++ b/packages/rstack/package.json @@ -69,6 +69,7 @@ "build:native:ci": "napi build --config-path napi.json --platform --profile ci --manifest-path ../../Cargo.toml --package rstack-binding --package-json-path package.json --output-dir . --js binding.cjs --dts binding.d.cts", "build:native:release": "napi build --config-path napi.json --platform --release --manifest-path ../../Cargo.toml --package rstack-binding --package-json-path package.json --output-dir . --js binding.cjs --dts binding.d.cts -- --config ../../.cargo/release.toml", "dev": "rslib -w", + "prepack": "node ../../scripts/prepare-release.js", "package:native": "napi create-npm-dirs --config-path napi.json", "test": "rs test" },