Skip to content

Commit

Permalink
fix(master): final workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpShell committed Apr 28, 2024
1 parent e113481 commit eb5eddd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish in NPM (whiskeysockets scope)
run: |
npx json -I -f package.json -e "this.name='@whiskeysockets/baileys'"
npm publish --access public --//registry.npmjs.org/:_authToken=$NPM_TOKEN
npx json -I -f package.json -e "this.name='baileys'"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Generate Changelog
id: generate_changelog
Expand Down Expand Up @@ -79,11 +87,3 @@ jobs:
baileys.tgz
gzip: folders
allow_override: true

- name: Publish in NPM (whiskeysockets scope)
run: |
npx json -I -f package.json -e "this.name='@whiskeysockets/baileys'"
npm publish --access public
npx json -I -f package.json -e "this.name='baileys'"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit eb5eddd

Please sign in to comment.