fix(publish): add git user

This commit is contained in:
Pedro S. Lopez
2022-08-15 03:32:40 -04:00
committed by GitHub
parent 694a52bf26
commit bb09bb74e7

View File

@@ -14,6 +14,8 @@ jobs:
if: ${{ github.repository == 'pedroslopez/whatsapp-web.js' }}
steps:
- uses: actions/checkout@v2
- run: git config --global user.email "hello@wwebjs.dev"
- run: git config --global user.name "WWebJS Bot"
- name: Bump version and publish to NPM
id: publish
run: ./tools/publish ${{ github.event.inputs.release_type }}
@@ -25,4 +27,4 @@ jobs:
with:
prerelease: ${{ steps.publish.outputs.PRERELEASE }}
generateReleaseNotes: true
tag: v${{ steps.publish.outputs.NEW_VERSION }}
tag: v${{ steps.publish.outputs.NEW_VERSION }}