Skip to content

Commit 326c1e8

Browse files
committed
fix: remove 'v' prefix from version input in MCP publish workflow
1 parent 190494f commit 326c1e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-mcp.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
run: |
2929
if [ -n "${{ inputs.version }}" ]; then
3030
VERSION="${{ inputs.version }}"
31+
# Remove 'v' prefix if it exists
32+
VERSION="${VERSION#v}"
3133
else
3234
VERSION=$(node -p "require('./package.json').version")
3335
fi

0 commit comments

Comments
 (0)