Skip to content

Commit f72c69b

Browse files
authored
Feature/sdg/registry Minor changes to workflows to chain PyPI (#164)
* Removed unified publish workflow
1 parent 3457f70 commit f72c69b

File tree

2 files changed

+1
-99
lines changed

2 files changed

+1
-99
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/workflows/publish_mcp.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ name: Publish MCP Registry
33
on:
44
workflow_dispatch:
55
workflow_run:
6-
workflows: ["Build"] # exact name of workflow 1
6+
workflows: ["Publish PyPI"] # exact name of PyPI workflow
77
types:
88
- completed
9-
push:
10-
tags:
11-
- "v*"
129

1310
concurrency:
1411
group: publish-${{ github.ref }}
@@ -58,14 +55,5 @@ jobs:
5855
# Get current version from server.json
5956
CURRENT_VERSION=$(jq -r '.version' server.json)
6057
echo "Current version: $CURRENT_VERSION"
61-
62-
# Check if version exists in registry
63-
if curl -s "https://registry.modelcontextprotocol.io/v0/servers/io.github.robotmcp/ros-mcp-server" | jq -e ".version == \"$CURRENT_VERSION\"" > /dev/null; then
64-
echo "Version $CURRENT_VERSION already exists in registry. Skipping publication."
65-
echo "Server is already published with version $CURRENT_VERSION"
66-
else
67-
echo "Publication failed for unknown reason"
68-
exit $PUBLISH_EXIT_CODE
69-
fi
7058
fi
7159
fi

0 commit comments

Comments
 (0)