mcvsubbu commented on a change in pull request #7024:
URL: https://github.com/apache/incubator-pinot/pull/7024#discussion_r646775407
##########
File path: compatibility-verifier/checkoutAndBuild.sh
##########
@@ -39,12 +44,15 @@ function checkoutAndBuild() {
targetDir=$2
pushd "$targetDir" || exit 1
- git init
- git remote add origin https://github.com/apache/incubator-pinot
- git pull origin master
- git checkout $commitHash
- mvn install package -DskipTests -Pbin-dist
+ git init || exit 1
+ git remote add origin https://github.com/apache/incubator-pinot || exit 1
+ git pull origin master || exit 1
+ # Pull the tag list so that we can check out by tag name
+ git fetch --tags || exit 1
+ git checkout $commitHash || exit 1
+ mvn install package -DskipTests -Pbin-dist || exit 1
popd || exit 1
+ exit 0
Review comment:
agreed. I will leave it , explicit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]