File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -124,15 +124,15 @@ for service_path in ${work_dir}/sdk_to_push/services/*; do
124124 }
125125 fi
126126
127- # if [[ "$branch" != "main" ]]; then
128- # echo ">> Creating PR for $service"
129- # git commit -m "Generate $service"
130- # git push origin "$branch"
131- # gh pr create --title "Generator: Update SDK /services/$service" --body "$COMMIT_INFO" --head "$branch" --base "main"
132- # else
133- # echo ">> Pushing changes for $service service..."
134- # git commit -m "Generate $service: $COMMIT_INFO"
135- # git push origin "$branch"
136- # fi
127+ if [[ " $branch " != " main" ]]; then
128+ echo " >> Creating PR for $service "
129+ git commit -m " Generate $service "
130+ git push origin " $branch "
131+ gh pr create --title " Generator: Update SDK /services/$service " --body " $COMMIT_INFO " --head " $branch " --base " main"
132+ else
133+ echo " >> Pushing changes for $service service..."
134+ git commit -m " Generate $service : $COMMIT_INFO "
135+ git push origin " $branch "
136+ fi
137137 fi
138138done
You can’t perform that action at this time.
0 commit comments