From 3b40a25e8b29c72554a695733189c11c7dd5740e Mon Sep 17 00:00:00 2001 From: Sam Lijin Date: Thu, 5 Dec 2024 14:51:06 -0800 Subject: [PATCH] go again --- .github/workflows/build-vscode-release.reusable.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-vscode-release.reusable.yaml b/.github/workflows/build-vscode-release.reusable.yaml index 4a1d736cb..6ac10f22f 100644 --- a/.github/workflows/build-vscode-release.reusable.yaml +++ b/.github/workflows/build-vscode-release.reusable.yaml @@ -45,9 +45,8 @@ jobs: - name: Build VSCode Extension id: build run: | - pnpm run vscode:package - VERSION=$(cat package.json| grep version | cut -d ' ' -f 4 | sed 's/[",]//g') - echo "version=$VERSION" >> $GITHUB_OUTPUT + pnpm run vscode:package --pre-release + echo "version=$(jq -r .version package.json)" >> $GITHUB_OUTPUT working-directory: typescript/vscode-ext/packages # Upload the artifact (helpful for debugging and manual downloads)