From 9b4160ce3d5dc73031597fd21ba22cec92964e3d Mon Sep 17 00:00:00 2001 From: sliu008 <69875423+sliu008@users.noreply.github.com> Date: Tue, 9 May 2023 11:17:13 -0700 Subject: [PATCH] Feature/fix main release (#17) * fix main release * change to env.THE_VERSION * fix env version reference * try to get release version again --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6c74fd2..4496a84 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,8 +94,8 @@ jobs: echo "Modifying version number ${{ env.project_version}}" THE_VERSION=${{ env.project_version }} echo "THE_VERSION=${THE_VERSION//-*}" >> $GITHUB_ENV - npm --no-git-tag-version version ${{ env.THE_VERSION }} - + npm --no-git-tag-version version ${THE_VERSION//-*} + - name: Run Snyk as a blocking step uses: snyk/actions/node@master env: