From 1a1c8101f6858c2e0706c8e6cd1700826e96648c Mon Sep 17 00:00:00 2001 From: YANG QIA <2013xile@gmail.com> Date: Wed, 4 Sep 2024 12:58:51 +0800 Subject: [PATCH] fix(ci): release error (#5193) * fix(ci): release error * chore: update --- .github/workflows/manual-release.yml | 1 + release.sh | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index b47f0553ea..51cf9efa6b 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -114,6 +114,7 @@ jobs: env: IS_FEAT: ${{ inputs.is_feat && '--is-feat' || '' }} PRO_PLUGIN_REPOS: ${{ vars.PRO_PLUGIN_REPOS }} + CUSTOM_PRO_PLUGIN_REPOS: ${{ vars.CUSTOM_PRO_PLUGIN_REPOS }} - name: Push and merge into next run: | for repo in ${{ join(fromJSON(vars.PRO_PLUGIN_REPOS), ' ') }} ${{ join(fromJSON(vars.CUSTOM_PRO_PLUGIN_REPOS), ' ') }} diff --git a/release.sh b/release.sh index e5e7771d1e..7bdf75a1fe 100755 --- a/release.sh +++ b/release.sh @@ -19,6 +19,13 @@ echo $PRO_PLUGIN_REPOS | jq -r '.[]' | while read i; do git tag v$(jq -r '.version' ../../../../lerna.json) cd ../../../../ done +echo $CUSTOM_PRO_PLUGIN_REPOS | jq -r '.[]' | while read i; do + cd ./packages/pro-plugins/@nocobase/$i + git add . + git commit -m "chore(versions): 😊 publish v$(jq -r '.version' ../../../../lerna.json)" + git tag v$(jq -r '.version' ../../../../lerna.json) + cd ../../../../ +done cd ./packages/pro-plugins git add . git commit -m "chore(versions): 😊 publish v$(jq -r '.version' ../../lerna.json)"