mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 04:29:15 +00:00
fix(publish): add git user
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -14,6 +14,8 @@ jobs:
|
|||||||
if: ${{ github.repository == 'pedroslopez/whatsapp-web.js' }}
|
if: ${{ github.repository == 'pedroslopez/whatsapp-web.js' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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
|
- name: Bump version and publish to NPM
|
||||||
id: publish
|
id: publish
|
||||||
run: ./tools/publish ${{ github.event.inputs.release_type }}
|
run: ./tools/publish ${{ github.event.inputs.release_type }}
|
||||||
@@ -25,4 +27,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
prerelease: ${{ steps.publish.outputs.PRERELEASE }}
|
prerelease: ${{ steps.publish.outputs.PRERELEASE }}
|
||||||
generateReleaseNotes: true
|
generateReleaseNotes: true
|
||||||
tag: v${{ steps.publish.outputs.NEW_VERSION }}
|
tag: v${{ steps.publish.outputs.NEW_VERSION }}
|
||||||
|
|||||||
Reference in New Issue
Block a user