fix(master): final workflow fix

This commit is contained in:
Rajeh Taher
2024-04-28 12:22:37 +00:00
parent e113481089
commit eb5edddf2f

View File

@@ -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
@@ -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 }}