chore: update

This commit is contained in:
xilesun 2024-11-08 12:26:20 +08:00
parent 11cf53c7b9
commit 9f686cfbfd

View File

@ -70,6 +70,23 @@ jobs:
- name: Merge main into next
shell: bash
run: |
for repo in ${{ join(fromJSON(vars.NEXT_PRO_PLUGIN_REPOS), ' ') }} ${{ join(fromJSON(vars.CUSTOM_PRO_PLUGIN_REPOS), ' ') }}
do
cd ./packages/pro-plugins/@nocobase/$repo
git checkout main
git pull origin main
git checkout next
git pull origin next
git merge main
cd ../../../../
done
cd ./packages/pro-plugins
git checkout main
git pull origin main
git checkout next
git pull origin next
git merge main
cd ../../
git checkout main
git pull origin main
git checkout next
@ -78,6 +95,17 @@ jobs:
- name: Merge next into main
shell: bash
run: |
for repo in ${{ join(fromJSON(vars.NEXT_PRO_PLUGIN_REPOS), ' ') }} ${{ join(fromJSON(vars.CUSTOM_PRO_PLUGIN_REPOS), ' ') }}
do
cd ./packages/pro-plugins/@nocobase/$repo
git checkout main
git merge next
cd ../../../../
done
cd ./packages/pro-plugins
git checkout main
git merge next
cd ../../
git checkout main
git merge next
- name: Release major (main)
@ -88,11 +116,22 @@ jobs:
env:
PRO_PLUGIN_REPOS: ${{ vars.NEXT_PRO_PLUGIN_REPOS }}
CUSTOM_PRO_PLUGIN_REPOS: ${{ vars.CUSTOM_PRO_PLUGIN_REPOS }}
- name: Merge main into next(-X ours)
- name: Merge main into next
shell: bash
run: |
for repo in ${{ join(fromJSON(vars.NEXT_PRO_PLUGIN_REPOS), ' ') }} ${{ join(fromJSON(vars.CUSTOM_PRO_PLUGIN_REPOS), ' ') }}
do
cd ./packages/pro-plugins/@nocobase/$repo
git checkout next
git merge main
cd ../../../../
done
cd ./packages/pro-plugins
git checkout next
git merge -X ours main --no-edit
git merge main
cd ../../
git checkout next
git merge main
- name: Release major (next)
shell: bash
run: |
@ -104,5 +143,16 @@ jobs:
# - name: Push
# shell: bash
# run: |
# for repo in ${{ join(fromJSON(vars.NEXT_PRO_PLUGIN_REPOS), ' ') }} ${{ join(fromJSON(vars.CUSTOM_PRO_PLUGIN_REPOS), ' ') }}
# do
# cd ./packages/pro-plugins/@nocobase/$repo
# git push origin main --atomic --tags
# git push origin next --atomic --tags
# cd ../../../../
# done
# cd ./packages/pro-plugins
# git push origin main --atomic --tags
# git push origin next --atomic --tags
# cd ../../
# git push origin main --atomic --tags
# git push origin next --atomic --tags