Skip to content

Commit

Permalink
clean up on build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
guirava committed Oct 13, 2024
1 parent 0ea10a4 commit 657be25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Utils/admin/Update-RscSdkMainBranch.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ try {
}
}
catch {
git reset --hard HEAD
git checkout $sourceBranch
throw "Failed to build the SDK: $($_ | Out-String)"
}

Expand Down

0 comments on commit 657be25

Please sign in to comment.