This repository was archived by the owner on Jan 30, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +43
-1
lines changed
Expand file tree Collapse file tree 4 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Promote to Stable
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ promote :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Generate token
11+ id : generate_token
12+ uses : actions/create-github-app-token@v2
13+ with :
14+ app-id : ${{ secrets.APP_ID }}
15+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
16+
17+ - uses : actions/checkout@v5
18+ with :
19+ fetch-depth : 0
20+ token : ${{ steps.generate_token.outputs.token }}
21+
22+ - run : |
23+ git config user.name "github-actions[bot]"
24+ git config user.email "github-actions[bot]@users.noreply.github.com"
25+ git checkout stable || git checkout -b stable
26+ git merge main --no-ff -m "chore: promote main to stable"
27+ git push origin stable
Original file line number Diff line number Diff line change 5151 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
5252 run : |
5353 pnpm dlx semantic-release
54+
55+ - name : Sync stable back to main
56+ if : github.ref == 'refs/heads/stable'
57+ env :
58+ GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
59+ run : |
60+ git config user.name "github-actions[bot]"
61+ git config user.email "github-actions[bot]@users.noreply.github.com"
62+ git fetch origin main stable
63+ git checkout main
64+ git merge origin/stable -m "chore: sync stable release to main"
65+ git push origin main
Original file line number Diff line number Diff line change 11{
22 "name" : " @superdoc-dev/template-builder" ,
3- "version" : " 0.0.0-development " ,
3+ "version" : " 0.0.0" ,
44 "description" : " React template builder component for SuperDoc" ,
55 "type" : " module" ,
66 "main" : " ./dist/index.js" ,
Original file line number Diff line number Diff line change 1+ /**
2+ * Default components for template builder
3+ */
14export { FieldMenu } from "./FieldMenu" ;
25export { FieldList } from "./FieldList" ;
You can’t perform that action at this time.
0 commit comments