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)"