Skip to content

Commit

Permalink
return different error code if old version is not on master (#9686)
Browse files Browse the repository at this point in the history
  • Loading branch information
SabrinaZhaozyf authored Oct 31, 2022
1 parent 2ba230c commit 8b03dee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compatibility-verifier/checkoutAndBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ function checkOut() {
git pull origin master 1>&2 || exit 1
# Pull the tag list so that we can check out by tag name
git fetch --tags 1>&2 || exit 1
git checkout $commitHash 1>&2 || exit 1
# Return different error code if old version is not on master
git checkout $commitHash 1>&2 || exit 22 # invalid argument error code

popd
}
Expand Down

0 comments on commit 8b03dee

Please sign in to comment.