Skip to content

Commit

Permalink
try pulling before pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
satish-ravi committed Oct 9, 2023
1 parent 01be684 commit 0371993
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/scripts/checkPodfileAndUpdateRenovatePr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ if (
) {
console.log('Renovate PR, pushing Podfile changes')
$.exec('git remote set-url origin [email protected]:valora-inc/wallet.git')
$.exec(`git checkout ${branchName}`)
$.exec(`git checkout -b ${branchName}`)
$.exec(`git branch -u ${branchName}`)
$.exec('git pull')
// this assumes the diff is from Podfile.lock only
$.exec('git add ios/Podfile.lock')
$.exec('git config user.email "[email protected]"')
Expand Down

0 comments on commit 0371993

Please sign in to comment.