File tree Expand file tree Collapse file tree 1 file changed +45
-1
lines changed
Expand file tree Collapse file tree 1 file changed +45
-1
lines changed Original file line number Diff line number Diff line change 1313 - ' stable'
1414 - ' hotfix'
1515 - ' experimental'
16+ - ' v1'
1617 default : ' rc'
1718 new_version :
18- description : ' version (stable and hotfix only) '
19+ description : ' version (relevant for stable, hotfix, and v1) ' # Updated description
1920 required : false
2021 default : ' '
2122 type : string
@@ -268,3 +269,46 @@ jobs:
268269 - name : Publish
269270 run : |
270271 yarn lerna publish from-git --yes --dist-tag experimental --pre-dist-tag experimental
272+
273+ # ✅ Job 5: V1 Release Flow
274+ v1-release :
275+ if : ${{ github.event.inputs.release_type == 'v1' && github.event.inputs.new_version != '' }}
276+ permissions :
277+ contents : write
278+ id-token : write
279+ runs-on : ubuntu-latest
280+ steps :
281+ - name : Checkout
282+ uses : actions/checkout@v4
283+ with :
284+ token : ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
285+ fetch-depth : 0
286+
287+ - name : Setup Node
288+ 289+ with :
290+ node-version : 22
291+ cache : ' yarn'
292+
293+ - name : Install Dependencies
294+ run : yarn --immutable
295+
296+ - name : Build
297+ run : yarn ci:releasebuild
298+
299+ - name : Version Bump
300+ env :
301+ GH_TOKEN : ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
302+ run : |
303+ git config user.name "${{ secrets.UI5_WEBCOMP_BOT_NAME }}"
304+ git config user.email "${{ secrets.UI5_WEBCOMP_BOT_EMAIL }}"
305+ yarn lerna version ${{ github.event.inputs.new_version || '' }} \
306+ --conventional-graduate \
307+ --force-conventional-graduate \
308+ --yes \
309+ --exact \
310+ --create-release github
311+
312+ - name : Publish
313+ run : |
314+ yarn lerna publish from-git --yes --dist-tag "v1"
You can’t perform that action at this time.
0 commit comments