From 7f3d6f738273b78aac41e562515303fc24cf1c86 Mon Sep 17 00:00:00 2001 From: Christopher Schleiden Date: Thu, 23 Mar 2023 11:50:02 -0700 Subject: [PATCH] Use hard-coded version for publish --- .github/workflows/release.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a5e2ba0..e449d24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,9 +63,6 @@ jobs: env: PKG_VERSION: "" # will be set in the workflow - outputs: - version: ${{ env.PKG_VERSION }} - steps: - uses: actions/checkout@v3 @@ -75,7 +72,7 @@ jobs: cache: "npm" registry-url: "https://npm.pkg.github.com" - - name: Parse version from package.json + - name: Parse version from lerna.json run: | echo "PKG_VERSION=$(node -p -e "require('./lerna.json').version")" >> $GITHUB_ENV @@ -103,4 +100,4 @@ jobs: - name: Publish packages run: | - lerna publish from-git + lerna publish ${{ env.PKG_VERSION }}