This commit is contained in:
parent
6645524ea8
commit
329c402d10
1 changed files with 3 additions and 3 deletions
|
@ -43,9 +43,7 @@ jobs:
|
|||
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
||||
fullrepo=https://${registry}/${repository}.git
|
||||
git init
|
||||
git stash
|
||||
git pull ${fullrepo}
|
||||
git stash pop
|
||||
# git pull ${fullrepo}
|
||||
npm install @angular/cli
|
||||
npm run lint
|
||||
- name: Update version
|
||||
|
@ -60,7 +58,9 @@ jobs:
|
|||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "GitHub Actions Bot"
|
||||
# git checkout -- package-lock.json package.json
|
||||
git stash
|
||||
git pull
|
||||
git stash pop
|
||||
jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json
|
||||
git add .
|
||||
git commit -m "Automated update by GitHub Actions"
|
||||
|
|
Loading…
Reference in a new issue