remove wait for npm publish
This commit is contained in:
1 file changed
-13
@@ -84,19 +84,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
|
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
|
||||||
|
|
||||||
- name: Wait for NPM package propagation
|
|
||||||
run: |
|
|
||||||
VERSION="${{ steps.bump-version.outputs.version }}"
|
|
||||||
echo "Waiting for NPM package version $VERSION to be available..."
|
|
||||||
for i in {1..30}; do
|
|
||||||
if curl -s "https://registry.npmjs.org/@brave/brave-search-mcp-server" | jq -e ".versions[\"$VERSION\"]" > /dev/null; then
|
|
||||||
echo "Package version $VERSION is available on NPM registry"
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
echo "Attempt $i/30: Package version $VERSION not yet available, waiting 10 seconds..."
|
|
||||||
sleep 10
|
|
||||||
done
|
|
||||||
|
|
||||||
- name: Login to MCP Registry
|
- name: Login to MCP Registry
|
||||||
run: ./mcp-publisher login github-oidc
|
run: ./mcp-publisher login github-oidc
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user