File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,22 @@ jobs:
123123 env :
124124 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
125125
126+ - name : Manual Release (workflow_dispatch)
127+ if : steps.changesets.outputs.hasChangesets == 'true' && github.event_name == 'workflow_dispatch'
128+ run : |
129+ echo "🚀 Publishing manual release with tag: ${{ github.event.inputs.release_type }}"
130+ if [ "${{ github.event.inputs.release_type }}" != "latest" ]; then
131+ bun run changeset pre enter ${{ github.event.inputs.release_type }}
132+ bun run changeset version
133+ bun run changeset publish --tag ${{ github.event.inputs.release_type }}
134+ else
135+ bun run changeset pre exit
136+ bun run changeset version
137+ bun run changeset publish
138+ fi
139+ env :
140+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
141+
126142 - name : No changesets found
127143 if : (steps.release-check.outputs.branch-eligible == 'true' || github.event_name == 'workflow_dispatch') && steps.changesets.outputs.hasChangesets != 'true'
128144 run : |
You can’t perform that action at this time.
0 commit comments