Skip to content

Commit c8248a8

Browse files
authored
Merge pull request #811 from cygaar/release_fix_4
fix: lerna publish command
2 parents 6c58ff5 + 66cb602 commit c8248a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
5252
# Force checkout the latest tag
5353
echo "Checking out latest tag: $LATEST_TAG"
54-
git checkout -f $LATEST_TAG
54+
git checkout -b temp-publish-branch $LATEST_TAG
5555
5656
echo "Publishing version: $LATEST_TAG"
57-
npx lerna publish from-git --yes --dist-tag latest
57+
npx lerna publish from-package --yes --dist-tag latest
5858
env:
5959
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6060

0 commit comments

Comments
 (0)