From 65887a9eedb050944d7df5b55d9b4c62b97c8c14 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 20 Aug 2025 19:19:54 -0700 Subject: [PATCH] fix: beta-release with correct path --- .github/workflows/beta-release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index eb59cb14d..b059a3b91 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -31,12 +31,14 @@ jobs: always-auth: true - name: Install dependencies + working-directory: extensions/cli run: npm ci env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Get current version id: get_version + working-directory: extensions/cli run: | # Get the latest version from package.json or npm registry CURRENT_VERSION=$(node -p "require('./package.json').version") @@ -65,14 +67,17 @@ jobs: echo "date_suffix=$DATE_SUFFIX" >> $GITHUB_OUTPUT - name: Update package.json for beta + working-directory: extensions/cli run: | # Update version in package.json npm version ${{ steps.get_version.outputs.beta_version }} --no-git-tag-version - name: Build + working-directory: extensions/cli run: npm run build - name: Publish beta to npm + working-directory: extensions/cli env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | @@ -93,4 +98,4 @@ jobs: gh release create "v${{ steps.get_version.outputs.beta_version }}" \ --title "Beta Release v${{ steps.get_version.outputs.beta_version }}" \ --notes "Daily beta release for testing. This version will be promoted to stable after 7 days if no critical issues are found." \ - --prerelease \ No newline at end of file + --prerelease