Update git config to be global on release

This commit is contained in:
Rory Powell 2022-04-27 09:37:42 +01:00
parent 6289675385
commit 18faa59eb4
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
git config user.name "Budibase Release Bot"
git config user.email "<>"
git config --global user.name "Budibase Release Bot"
git config --global user.email "<>"
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
yarn release