diff --git a/.changeset/quick-apricots-compare.md b/.changeset/quick-apricots-compare.md new file mode 100644 index 0000000..ffe6831 --- /dev/null +++ b/.changeset/quick-apricots-compare.md @@ -0,0 +1,5 @@ +--- +'@antv/g-device-api': patch +--- + +Commit rust bundle. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85d06f1..f992d35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,9 +34,6 @@ jobs: - name: Build run: pnpm build - - name: Copy rust bundle - run: cp -r rust/pkg dist - - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 76a6c22..de46ff0 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "lint": "npm run eslint", "lint-staged": "lint-staged", "prepare": "husky install", + "prepublishOnly": "npm run build && cp -r rust/pkg dist", "changeset": "changeset", "version": "changeset version", "release": "changeset publish", diff --git a/rust/pkg/.gitignore b/rust/pkg/.gitignore index f59ec20..e69de29 100644 --- a/rust/pkg/.gitignore +++ b/rust/pkg/.gitignore @@ -1 +0,0 @@ -* \ No newline at end of file