File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3333# Move oas to root level
3434mkdir ${ROOT_DIR} /oas
3535cd ${work_dir}
36- git clone ${OAS_REPO}
36+ git clone ${OAS_REPO} --quiet
3737
3838for service_dir in ${work_dir} /${OAS_REPO_NAME} /services/* ; do
3939 max_version_dir=" "
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ generate_go_sdk() {
7575
7676 # Install SDK project tools
7777 cd ${SDK_REPO_LOCAL_PATH}
78+ git pull
7879 make project-tools
7980
8081 # Backup of the current state of the SDK services dir (services/)
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ rm -rf ${work_dir}/sdk_to_push/.git
6060
6161# Initialize git repo
6262cd ${work_dir} /git_repo
63- git clone ${REPO_URL_SSH} ./
63+ git clone ${REPO_URL_SSH} ./ --quiet
6464git config user.name " ${COMMIT_NAME} "
6565git config user.email " ${COMMIT_EMAIL} "
6666
@@ -116,8 +116,9 @@ for service_path in ${work_dir}/sdk_to_push/services/*; do
116116 continue
117117 }
118118
119- git commit -m " Generate $service : $COMMIT_INFO "
120- git push origin " $branch "
119+ echo " >> Actually pushing changes to main for $service service..."
120+ # git commit -m "Generate $service: $COMMIT_INFO"
121+ # git push origin "$branch"
121122 fi
122123 fi
123124done
You can’t perform that action at this time.
0 commit comments