From 7924d3a6555ca5565f920cd484005a3b343a2f88 Mon Sep 17 00:00:00 2001 From: Embbnux Ji Date: Fri, 16 Jun 2023 09:55:27 +0800 Subject: [PATCH] chore: update ci to support to release with beta tag --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69d56bf..a7863fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,11 +47,11 @@ jobs: BRANCH: ${{ steps.extract_branch.outputs.branch }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm run publish:release -- $TAG --yes - if: ${{ env.TAG != '' && !contains(env.TAG, '/') && !contains(env.TAG, '-') && github.repository == 'ringcentral/ringcentral-js' }} + if: ${{ env.TAG != '' && !contains(env.TAG, '/') && github.repository == 'ringcentral/ringcentral-js' }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Release - if: ${{ env.TAG != '' && !contains(env.TAG, '/') && !contains(env.TAG, '-') && github.repository == 'ringcentral/ringcentral-js' }} + if: ${{ env.TAG != '' && !contains(env.TAG, '/') && github.repository == 'ringcentral/ringcentral-js' }} uses: softprops/action-gh-release@v1 with: files: |