From f2a77f4c5cb094ba29bdadf51f98b02d7fa71780 Mon Sep 17 00:00:00 2001 From: Rajaniraiyn R <72294760+Rajaniraiyn@users.noreply.github.com> Date: Wed, 12 Jul 2023 12:21:21 +0530 Subject: [PATCH] improve logic --- .github/workflows/publish.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d4b1c7c..746a105 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 }} \ No newline at end of file