fix(ci): release-next tag name

This commit is contained in:
xilesun 2024-09-03 16:34:20 +08:00
parent 8438135be2
commit 0660a077e8

View File

@ -86,8 +86,8 @@ jobs:
yarn config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} yarn config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
yarn install yarn install
yarn lerna version ${{ env.NEWVERSION }} -y --no-git-tag-version yarn lerna version ${{ env.NEWVERSION }} -y --no-git-tag-version
git tag ${{ env.NEWVERSION }} git tag v${{ env.NEWVERSION }}
git push origin ${{ env.NEWVERSION }} git push origin v${{ env.NEWVERSION }}
yarn build yarn build
echo "# test" >> Release.md echo "# test" >> Release.md
git add . git add .
@ -111,14 +111,14 @@ jobs:
- name: Tag Pro plugins - name: Tag Pro plugins
run: | run: |
cd ./packages/pro-plugins cd ./packages/pro-plugins
git tag ${{ env.NEWVERSION }} git tag v${{ env.NEWVERSION }}
git push origin ${{ env.NEWVERSION }} git push origin v${{ env.NEWVERSION }}
cd ../../ cd ../../
for repo in ${{ join(fromJSON(vars.PRO_PLUGIN_REPOS), ' ') }} for repo in ${{ join(fromJSON(vars.PRO_PLUGIN_REPOS), ' ') }}
do do
cd ./packages/pro-plugins/@nocobase/$repo cd ./packages/pro-plugins/@nocobase/$repo
git tag ${{ env.NEWVERSION }} git tag v${{ env.NEWVERSION }}
git push origin ${{ env.NEWVERSION }} git push origin v${{ env.NEWVERSION }}
cd ../../../../ cd ../../../../
done done
- name: Build Pro plugins - name: Build Pro plugins