@@ -80,7 +80,7 @@ manifest=$(curl -L "$url")
8080mapfile -t commits < <( echo " $manifest " | grep -oE ' (_commit="|sdk:)[0-9a-f]+' | grep -oE ' [0-9a-f]+$' )
8181all_dotnet_component_versions_same=false
8282if [[ " $manifest " =~ sdk:([0-9a-f]+),\ ([^[:space:]]+) ]] ||
83- [[ " $manifest " =~ sdk_commit= \" ([0-9a-f]+)\"\ sdk_version= \" ([^\" ]+)\" ]]; then
83+ [[ " $manifest " =~ sdk_commit= \" ([0-9a-f]+)\"\ sdk_version= \" ([^\" ]+)\" ]]; then
8484 all_match=true
8585 ref=${commits[0]}
8686 for c in " ${commits[@]} " ; do
@@ -143,14 +143,14 @@ if $all_dotnet_component_versions_same; then
143143 git add " $path "
144144 fi
145145 version_var=" ${path} _version"
146- echo_version " $path " " ${! version_var} " >> dotnet-versions
146+ echo_version " $path " " ${! version_var} " >> dotnet-versions
147147 done
148148else
149149 cd sdk
150150 # installer:e0c95ad21e5eac311e454c65335008161b3e4763, 7.0.103
151151 # installer_commit="c8d103ed3c46cca9bb78098da723037e2be73bce" installer_version="8.0.100-alpha.1.23061.8"
152152 if [[ " $manifest " =~ sdk:([0-9a-f]+),\ ([^[:space:]]+) ]] ||
153- [[ " $manifest " =~ sdk_commit= \" ([0-9a-f]+)\"\ sdk_version= \" ([^\" ]+)\" ]]; then
153+ [[ " $manifest " =~ sdk_commit= \" ([0-9a-f]+)\"\ sdk_version= \" ([^\" ]+)\" ]]; then
154154 sdk_sha=${BASH_REMATCH[1]}
155155 sdk_version=${BASH_REMATCH[2]}
156156 git fetch --tags
160160 git checkout --force " v$sdk_version "
161161 fi
162162 cd ..
163- echo_version sdk " $sdk_version " > dotnet-versions
163+ echo_version sdk " $sdk_version " > dotnet-versions
164164 git add sdk
165165 for repo in " ${repos[@]} " ; do
166166 IFS=: read -r -a path_name <<< " $repo"
175175 cd ..
176176 git add " ${path_name[0]} "
177177 fi
178- echo_version " ${path_name[0]} " " $version " >> dotnet-versions
178+ echo_version " ${path_name[0]} " " $version " >> dotnet-versions
179179 done
180180fi
181181
200200 runtime_version_label \
201201 runtime/eng/Versions.props \
202202 PreReleaseVersionLabel
203- } >> dotnet-versions
203+ } >> dotnet-versions
204204
205205git add dotnet-versions
206206git commit --allow-empty --message=" v$sdk_version " --signoff
0 commit comments