Skip to content

Commit

Permalink
Lerna suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
tifrel committed Jul 11, 2023
1 parent 51cdcc4 commit bf72574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/branch-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
# only publish and push
if: ${{ github.ref_name == 'beta'}}
run: |
lerna version prerelease --yes --skip-git --preid ${{ github.ref_name }}
lerna version prerelease --yes --no-git-tag-version --no-push --preid ${{ github.ref_name }}
git add --all
git commit -m "🤖 npm prerelease ${{ github.ref_name }}"
lerna publish from-package --yes --dist-tag ${{ github.event.action == 'released' && 'latest' || 'prerelease'}}
Expand All @@ -69,7 +69,7 @@ jobs:
if: ${{ github.ref_name != 'beta'}}
id: publish
run: |
lerna version prerelease --yes --skip-git --preid ${{ github.ref_name }}-${GITHUB_SHA::7}
lerna version prerelease --yes --no-git-tag-version --no-push --preid ${{ github.ref_name }}-${GITHUB_SHA::7}
git add --all
git commit -m "🤖 npm prerelease ${{ github.ref_name }}"
lerna publish from-package --yes --dist-tag prerelease
Expand Down

0 comments on commit bf72574

Please sign in to comment.