diff --git a/.github/workflows/registry-releaser.yml b/.github/workflows/registry-releaser.yml index fe4581b26..05e07e46f 100644 --- a/.github/workflows/registry-releaser.yml +++ b/.github/workflows/registry-releaser.yml @@ -22,7 +22,12 @@ jobs: go-version: "stable" - name: Fetch tags - run: git fetch --tags + run: | + if [[ "${{ github.ref_type }}" != "tag" ]]; then + git fetch --tags + else + echo "Skipping tag fetch - already on tag ${{ github.ref_name }}" + fi - name: Install MCP Publisher run: | @@ -47,6 +52,11 @@ jobs: run: | python3 -m json.tool server.json > /dev/null && echo "Configuration valid" || exit 1 + - name: Display final server.json + run: | + echo "Final server.json contents:" + cat server.json + - name: Login to MCP Registry (OIDC) run: ./mcp-publisher login github-oidc