File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -120,21 +120,22 @@ for service_path in ${work_dir}/sdk_to_push/services/*; do
120120 fi
121121
122122 # write OAS commit hash of service into source tree, create compare link
123+ echo " >> Updating OAS commit for $service "
123124 old_commit=" "
124125 if [[ -f " services/${service} /oas_commit" ]]; then
125126 old_commit=$( cat " services/${service} /oas_commit" )
127+ echo " old commit: ${old_commit} "
126128 fi
127- echo " old commit: ${old_commit} "
128129 new_commit=" "
129130 if [[ -f " ${ROOT_DIR} /oas/oas_commits" ]]; then
130131 new_commit=$( grep " ${service} =" " ${ROOT_DIR} /oas/oas_commits" | cut -d = -f 2)
132+ echo " new commit: ${new_commit} "
131133 fi
132- echo " new commit: ${new_commit} "
133134 compare_link=" "
134135 if [[ -n " ${old_commit} " ]] && [[ -n " ${new_commit} " ]]; then
135136 compare_link=https://github.com/stackitcloud/stackit-api-specifications/compare/${old_commit} ...${new_commit}
137+ echo " compare link: ${compare_link} "
136138 fi
137- echo " compare link: ${compare_link} "
138139 if [[ -n " ${new_commit} " ]]; then
139140 echo " ${new_commit} " > " services/${service} /oas_commit"
140141 fi
You can’t perform that action at this time.
0 commit comments