Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilpowar17 committed Sep 15, 2023
1 parent 369ccee commit d6b059d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions jck/jck-semiauto-updater/jckupdater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,8 @@ isLatestUpdate() {

if grep -q "$JCK_WITHOUT_BACKSLASH" build.txt; then
echo " JCK$JCK_VERSION material is $JCK_WITHOUT_BACKSLASH in the repo $GIT_URL. It is up to date. No need to pull changes"
# cleanup
# exit 2
get_JAVA_SDK
getJCKSources
cleanup
exit 2
else
echo " JCK$JCK_VERSION $JCK_WITHOUT_BACKSLASH is latest and not in the repo $GIT_URL... Please proceed with download"
get_JAVA_SDK
Expand Down Expand Up @@ -357,9 +355,9 @@ if [ "$JCK_VERSION" != "" ] && [ "$JCK_GIT_REPO" != "" ] && [ "$GIT_TOKEN" != ""
setup
isLatestUpdate
extract
#gitClone
#copyFilestoGITRepo
#checkChangesAndCommit
gitClone
copyFilestoGITRepo
checkChangesAndCommit
cleanup
else
echo "Please provide missing arguments"
Expand Down

0 comments on commit d6b059d

Please sign in to comment.