diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ddf6ea21..288d9ecd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -121,7 +121,6 @@ jobs: args: [--frozen-lockfile] - name: build run: | - cp README.md packages/taro-ui pnpm build # Git stash @@ -146,9 +145,9 @@ jobs: - name: Publish run: | if [ '${{ github.event_name }}' == 'pull_request' ] ; then - pnpm publish --registry=https://registry.npmjs.org/ --publish-branch=${{ github.ref }} -r + cd README.md packages/taro-ui & pnpm publish --registry=https://registry.npmjs.org/ --publish-branch=${{ github.ref }} -r elif [ '${{ github.event_name }}' == 'push' ] ; then - pnpm publish --registry=https://registry.npmjs.org/ --publish-branch=${{ github.ref_name }} -r ${{ env.PUBLISH_PARAMS }} + cd README.md packages/taro-ui & pnpm publish --registry=https://registry.npmjs.org/ --publish-branch=${{ github.ref_name }} -r ${{ env.PUBLISH_PARAMS }} fi env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/packages/taro-ui-demo-rn/package.json b/packages/taro-ui-demo-rn/package.json index b2c027b6..473dae5d 100644 --- a/packages/taro-ui-demo-rn/package.json +++ b/packages/taro-ui-demo-rn/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "taro-ui-demo-rn", - "version": "3.2.0-beta.1", + "version": "3.2.0-beta.2", "description": "Taro UI demo", "author": "O2Team ", "homepage": "https://taro-ui.taro.zone", diff --git a/packages/taro-ui-demo/package.json b/packages/taro-ui-demo/package.json index e3d64a64..b5c3eff5 100644 --- a/packages/taro-ui-demo/package.json +++ b/packages/taro-ui-demo/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "taro-ui-demo", - "version": "3.2.0-beta.1", + "version": "3.2.0-beta.2", "description": "Taro UI demo", "author": "O2Team ", "homepage": "https://taro-ui.taro.zone", diff --git a/packages/taro-ui-docs/package.json b/packages/taro-ui-docs/package.json index b9908ab0..1e5d0083 100644 --- a/packages/taro-ui-docs/package.json +++ b/packages/taro-ui-docs/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "taro-ui-docs", - "version": "3.2.0-beta.1", + "version": "3.2.0-beta.2", "description": "Taro UI docs", "author": "O2Team ", "homepage": "https://taro-ui.taro.zone", diff --git a/packages/taro-ui/package.json b/packages/taro-ui/package.json index e80eae49..e1e241b8 100644 --- a/packages/taro-ui/package.json +++ b/packages/taro-ui/package.json @@ -1,6 +1,6 @@ { "name": "taro-ui", - "version": "3.2.0-beta.1", + "version": "3.2.0-beta.2", "description": "UI KIT for Taro", "module": "dist/index.esm.js", "main": "dist/index.js",