File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616 - name : Checkout code
1717 uses : actions/checkout@v5
1818
19- - name : Install jq
20- run : sudo apt-get update && sudo apt-get install -y jq
19+ - name : Fetch tags
20+ run : git fetch --tags
2121
2222 - name : Install MCP Publisher
2323 run : |
3939 TAG_VERSION=$(echo "$LATEST_TAG" | sed 's/^v//')
4040 echo "Using latest tag: $LATEST_TAG"
4141 fi
42- jq ".version = \"$TAG_VERSION\" | .packages[].version = \"$ TAG_VERSION\"" server.json > server.json.tmp && mv server.json.tmp server.json
42+ sed -i "s/\${VERSION}/$ TAG_VERSION/g" server.json
4343 echo "Updated server.json version to $TAG_VERSION"
4444
4545 - name : Login to MCP Registry
Original file line number Diff line number Diff line change 77 "url" : " https://github.com/github/github-mcp-server" ,
88 "source" : " github"
99 },
10- "version" : " 0.0.0 " ,
10+ "version" : " ${VERSION} " ,
1111 "packages" : [
1212 {
1313 "registryType" : " oci" ,
1414 "registryBaseUrl" : " https://ghcr.io" ,
1515 "identifier" : " ghcr.io/github/github-mcp-server" ,
16- "version" : " 0.0.0 " ,
16+ "version" : " ${VERSION} " ,
1717 "runtimeHint" : " docker" ,
1818 "transport" : {
1919 "type" : " stdio"
You can’t perform that action at this time.
0 commit comments