Skip to content

Commit

Permalink
patch: update release workflow
Browse files Browse the repository at this point in the history
davidzwa committed Oct 23, 2024
1 parent af515b5 commit 213d28a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release-client.yml
Original file line number Diff line number Diff line change
@@ -4,6 +4,8 @@ on:
branches:
- 'develop'
- 'main'
- 'release/*' # Add this line to include all release branches

jobs:
checkversion:
runs-on: ubuntu-latest
@@ -56,7 +58,13 @@ jobs:
run: |
cat package.json
# Create github release
# Publish to NPM
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: package.json

# Create GitHub release
- name: Create release
uses: actions/create-release@v1
id: create_release
@@ -84,8 +92,3 @@ jobs:
asset_name: dist-client-${{ env.CLIENT_VERSION }}.zip
asset_content_type: application/zip

# Publish to NPM
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: package.json

0 comments on commit 213d28a

Please sign in to comment.