Skip to content

Commit 8f9f9a6

Browse files
committed
fix: correct version extraction from tag in workflow
Remove 'v' prefix assumption since our tags are numeric only (1.4.3 not v1.4.3). This was causing version to be 'refs/tags/1.4.3' instead of '1.4.3'.
1 parent fac28ff commit 8f9f9a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish-mcp-registry.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Get version from tag
1919
id: get_version
2020
run: |
21-
VERSION=${GITHUB_REF#refs/tags/v}
21+
VERSION=${GITHUB_REF#refs/tags/}
2222
echo "version=$VERSION" >> $GITHUB_OUTPUT
2323
echo "Publishing version: $VERSION"
2424

0 commit comments

Comments
 (0)