Skip to content

Commit c2b0105

Browse files
committed
fix: update version retrieval method in CI workflow to use jq
1 parent 08fa270 commit c2b0105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
- name: Check for a new release tag at this commit
9797
id: check
9898
run: |
99-
VERSION=$(node -p "require('./packages/linting/vscode/package.json').version")
99+
VERSION=$(jq -r '.version' packages/linting/vscode/package.json)
100100
TAG="fusion-ts-lint-vscode@${VERSION}"
101101
TAG_SHA=$(git rev-list -n 1 "$TAG" 2>/dev/null || echo "")
102102
if [ "$TAG_SHA" = "$GITHUB_SHA" ]; then

0 commit comments

Comments
 (0)