Skip to content

Commit ed68c35

Browse files
Fix publish the sql-parser package
1 parent aac58c8 commit ed68c35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ jobs:
4545
# checks if the repository is clean and fails if it's not. This is complicated for us, given we rename
4646
# the package dynamically and we don't want to commit the changes to the package.json.
4747
- name: Publish the sql-parser package
48-
run: npm publish --workspace packages/sql-parser
48+
run: |
49+
GIT_TAG=${{ github.ref_name }}
50+
VERSION="${GIT_TAG#v}"
51+
yarn workspace @deepnote/sql-parser version --new-version ${VERSION} --no-git-tag-version && npm publish --workspace packages/sql-parser
4952
5053
publish-server:
5154
name: Publish Server

0 commit comments

Comments
 (0)