File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 8080 environment : Production
8181 permissions :
8282 contents : write
83- id-token : write # Required for OIDC authentication with MCP Registry
8483 needs :
8584 - check
8685 if : needs.check.outputs.VERSION_EXISTS == 'false'
@@ -102,6 +101,12 @@ jobs:
102101 env :
103102 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
104103
104+ - name : Publish git release
105+ env :
106+ GH_TOKEN : ${{ github.token }}
107+ run : |
108+ gh release create ${{ needs.check.outputs.VERSION }} --title "${{ needs.check.outputs.VERSION }}" --generate-notes --target ${{ github.sha }} ${{ (needs.check.outputs.RELEASE_CHANNEL != 'latest' && '--prerelease') || ''}}
109+
105110 - name : Update server.json version and arguments
106111 run : |
107112 VERSION="${{ needs.check.outputs.VERSION }}"
@@ -116,10 +121,4 @@ jobs:
116121 run : ./mcp-publisher login github --token ${{ steps.app-token.outputs.token }}
117122
118123 - name : Publish to MCP Registry
119- run : ./mcp-publisher publish
120-
121- - name : Publish git release
122- env :
123- GH_TOKEN : ${{ github.token }}
124- run : |
125- gh release create ${{ needs.check.outputs.VERSION }} --title "${{ needs.check.outputs.VERSION }}" --generate-notes --target ${{ github.sha }} ${{ (needs.check.outputs.RELEASE_CHANNEL != 'latest' && '--prerelease') || ''}}
124+ run : ./mcp-publisher publish
You can’t perform that action at this time.
0 commit comments