File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 options :
2727 - ' yes'
2828 - ' no'
29+ force-bump :
30+ description : ' Skip the lerna changed check? (If "yes", `lerna version` will be executed with `--force-publish`)'
31+ required : true
32+ type : choice
33+ default : ' no'
34+ options :
35+ - ' yes'
36+ - ' no'
2937 dryRun :
3038 description : ' Dry run? If yes, this workflow will NOT push to remote and NOT publish the extension.'
3139 required : true
7684
7785 - name : 🚧 Bump the version
7886 id : bump
79- run : |
80- pnpm lerna version ${{github.event.inputs.releaseType}} --force-publish --no-push --exact --preid next --yes -m "chore(release): %s"
87+ run : >
88+ pnpm lerna version
89+ ${{ github.event.inputs.releaseType }}
90+ ${{ github.event.inputs.force-bump == 'yes' && '--force-publish' || '' }}
91+ --no-push --exact --preid next --yes -m "chore(release): %s"
8192 env :
8293 GITHUB_AUTH : ${{ secrets.GITHUB_TOKEN }}
8394 VSCODE_WDIO_PRE_RELEASE_PATCH_NUMBER : ${{ steps.gen-pre-release-ver.outputs.result }}
You can’t perform that action at this time.
0 commit comments