Skip to content

Commit 9960531

Browse files
Sync from the Ink Studio AI repository (e696c3a)
1 parent 549f4b3 commit 9960531

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ jobs:
7979
8080
- name: Publish to the MCP Registry
8181
run: |
82-
./mcp-publisher login github-oidc
83-
# The registry checks mcpName on npm, which can lag a few seconds behind the publish.
84-
for attempt in 1 2 3 4 5; do
85-
./mcp-publisher publish && exit 0
86-
sleep 20
82+
# The registry checks the version and mcpName on npm. npm processes a new
83+
# version for a few minutes before it shows it, so wait up to 10 minutes.
84+
# Log in on each attempt: the registry token is short-lived.
85+
for attempt in $(seq 1 20); do
86+
./mcp-publisher login github-oidc && ./mcp-publisher publish && exit 0
87+
sleep 30
8788
done
8889
exit 1

0 commit comments

Comments
 (0)