Skip to content

Commit

Permalink
upstream pretest: reset funcs.bin on merge fail
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Jan 16, 2025
1 parent e125deb commit 9969870
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/upstream pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,10 @@ jobs:
Write-Host "----- Simple merge failed, trying to fix submodule conflict"
git reset "DataScraping/Reps/$subm_name"
if (-not $?) { throw "git reset failed" }
if (-not $?) { throw "git reset $subm_name failed" }
git reset 'DataScraping/XML/*/funcs.bin'
if (-not $?) { throw "git reset funcs.bin failed" }
git add *.log
if (-not $?) { throw "git add (unmerged *.log files) failed" }
Expand Down

0 comments on commit 9969870

Please sign in to comment.