From 0302304767fd894d75aa525c53d30a8b66cc671c Mon Sep 17 00:00:00 2001 From: Sebastian Scatularo Date: Wed, 18 Oct 2023 12:27:22 -0300 Subject: [PATCH] set the right version --- .github/workflows/preview.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index b7ec537e6..7508478fa 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -122,13 +122,13 @@ jobs: path: portal - name: Setup Git run: | - cd portal + pushd portal git config user.name "xLabs CI" git config user.email "devops@xlabs.xyz" - name: Set Portal Bridge Version id: set-version run: | - cd portal + pushd portal/apps/connect npm version $(node -p -e "require('./package.json').version")-P$(echo ${{ github.sha }} | cut -c -10) echo "_PKG_VERSION=$(node -p -e "require('./package.json').version")" >> "${GITHUB_OUTPUT}" - name: Build Portal Bridge