Context7 Platform -- Up-to-date docs for AI agents
fix: remove 'v' prefix from version input in MCP publish workflow
enesgules326c1e876361
diff --git a/.github/workflows/publish-mcp.yml b/.github/workflows/publish-mcp.ymlindex 5ee03109..ccb13c7a 100644--- a/.github/workflows/publish-mcp.yml+++ b/.github/workflows/publish-mcp.yml@@ -28,6 +28,8 @@ jobs:run: |if [ -n "${{ inputs.version }}" ]; thenVERSION="${{ inputs.version }}"+ # Remove 'v' prefix if it exists+ VERSION="${VERSION#v}"elseVERSION=$(node -p "require('./package.json').version")fi