Skip to content

Commit 74588a6

Browse files
update workflow
1 parent 201e028 commit 74588a6

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.github/workflows/publish.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,20 +98,6 @@ jobs:
9898
working-directory: ./typescript
9999
run: npm ci
100100

101-
- name: Extract version from tag and update npm version
102-
working-directory: ./typescript
103-
run: |
104-
# Get the version from the tag (remove 'typescript-v' prefix)
105-
TAG_VERSION=${GITHUB_REF#refs/tags/typescript-v}
106-
echo "Tag version: $TAG_VERSION"
107-
108-
# Update package.json with the version from the tag
109-
npm version $TAG_VERSION --no-git-tag-version
110-
echo "Version updated in package.json to: $TAG_VERSION"
111-
112-
# Verify the change
113-
cat package.json | grep '"version"'
114-
115101
- name: Generate types and build package
116102
working-directory: ./typescript
117103
run: |

0 commit comments

Comments
 (0)