Set global git commit username

This commit is contained in:
Rory Powell 2022-04-20 20:32:00 +01:00
parent b63a8adb12
commit a5f5c846b2
1 changed files with 9 additions and 9 deletions

View File

@ -60,15 +60,15 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-1
# - name: Publish budibase packages to NPM
# env:
# 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 Staging Release Bot"
# git config user.email "<>"
# echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
# yarn release:develop
- name: Publish budibase packages to NPM
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
# setup the username and email.
git config --global user.name "Budibase Staging Release Bot"
git config --global user.email "<>"
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
# yarn release:develop
- name: Get the latest budibase release version
id: version