File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 3535 run : |
3636 echo "NEW_VERSION=$(npm version ${{ inputs.version }} --no-git-tag-version)" >> $GITHUB_OUTPUT
3737 npm run build:update-package-version
38+
39+ - name : Update server.json version and arguments
40+ run : |
41+ VERSION="${{ needs.check.outputs.VERSION }}"
42+ VERSION="${VERSION#v}"
43+ npm run generate:arguments
44+
3845 - name : Create release PR
3946 uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # 7.0.8
4047 id : create-pr
Original file line number Diff line number Diff line change @@ -107,12 +107,6 @@ jobs:
107107 run : |
108108 gh release create ${{ needs.check.outputs.VERSION }} --title "${{ needs.check.outputs.VERSION }}" --generate-notes --target ${{ github.sha }} ${{ (needs.check.outputs.RELEASE_CHANNEL != 'latest' && '--prerelease') || ''}}
109109
110- - name : Update server.json version and arguments
111- run : |
112- VERSION="${{ needs.check.outputs.VERSION }}"
113- VERSION="${VERSION#v}"
114- npm run generate:arguments
115-
116110 - name : Install MCP Publisher
117111 run : |
118112 curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
You can’t perform that action at this time.
0 commit comments