Skip to content

Commit 371b9ae

Browse files
MattBabbageCopilot
andauthored
MCP Registry Publication - Declobbering (#1151)
* declobbering tags --------- Co-authored-by: Copilot <[email protected]>
1 parent 35b0da2 commit 371b9ae

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/registry-releaser.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ jobs:
2222
go-version: "stable"
2323

2424
- name: Fetch tags
25-
run: git fetch --tags
25+
run: |
26+
if [[ "${{ github.ref_type }}" != "tag" ]]; then
27+
git fetch --tags
28+
else
29+
echo "Skipping tag fetch - already on tag ${{ github.ref_name }}"
30+
fi
2631
2732
- name: Install MCP Publisher
2833
run: |
@@ -47,6 +52,11 @@ jobs:
4752
run: |
4853
python3 -m json.tool server.json > /dev/null && echo "Configuration valid" || exit 1
4954
55+
- name: Display final server.json
56+
run: |
57+
echo "Final server.json contents:"
58+
cat server.json
59+
5060
- name: Login to MCP Registry (OIDC)
5161
run: ./mcp-publisher login github-oidc
5262

0 commit comments

Comments
 (0)