From 66cb602d2ed543e58bf7a5de6d332e06081f42e4 Mon Sep 17 00:00:00 2001 From: cygaar Date: Mon, 2 Dec 2024 22:57:10 -0500 Subject: [PATCH] lerna fix --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 86bbc16f32..e196f104be 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -51,10 +51,10 @@ jobs: # Force checkout the latest tag echo "Checking out latest tag: $LATEST_TAG" - git checkout -f $LATEST_TAG + git checkout -b temp-publish-branch $LATEST_TAG echo "Publishing version: $LATEST_TAG" - npx lerna publish from-git --yes --dist-tag latest + npx lerna publish from-package --yes --dist-tag latest env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}