Skip to content

Commit

Permalink
improve logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajaniraiyn committed Jul 12, 2023
1 parent 8df69dc commit f2a77f4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@ jobs:
- name: Publish packages
run: |
for package in $(ls packages); do
cd packages/$package
pnpm publish --no-git-checks
cd ../..
if [ "$package" != "continuum" ]; then
cd packages/$package
pnpm version patch
git push --follow-tags
pnpm publish --no-git-checks
cd ../..
fi
done
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f2a77f4

Please sign in to comment.