This is an automated email from the ASF dual-hosted git repository.

siddteotia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b03dee7ad return different error code if old version is not on master 
(#9686)
8b03dee7ad is described below

commit 8b03dee7adcbee9c8d92b76a1597ae804f150383
Author: Sabrina Zhao <yifz...@linkedin.com>
AuthorDate: Mon Oct 31 13:53:24 2022 -0700

    return different error code if old version is not on master (#9686)
---
 compatibility-verifier/checkoutAndBuild.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compatibility-verifier/checkoutAndBuild.sh 
b/compatibility-verifier/checkoutAndBuild.sh
index 577b89758c..702e01b1f4 100755
--- a/compatibility-verifier/checkoutAndBuild.sh
+++ b/compatibility-verifier/checkoutAndBuild.sh
@@ -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
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to