Skip to content

Commit d3cdea7

Browse files
committed
fail when aborts errors
1 parent 800910c commit d3cdea7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/assert-changed-files.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ if [ "$IS_CI" = true ]; then
1414
if [ $? -ne 0 ]; then
1515
echo "Branch has conflicts with master, rolling back test."
1616
git merge --abort
17+
18+
if [ $? -ne 0]; then
19+
# seems like we can't abort merge - script doesn't really handle that, we should fail this step because something is wonky
20+
echo "Something went wrong, we could not abort our merge command. Please re-run the test."
21+
exit 1
22+
fi
1723
fi
1824

1925
git config --local --unset user.name

0 commit comments

Comments
 (0)