Skip to content

Commit

Permalink
chore: update ci to support to release with beta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux authored Jun 16, 2023
1 parent 9632bca commit 7924d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 7924d3a

Please sign in to comment.