@@ -140,7 +140,7 @@ function waitForPackagePublish() {
140140 fi
141141}
142142
143- # Patching Verion of polywrap-msgpack
143+ # Patching Version of polywrap-msgpack
144144echo " Patching Version of polywrap-msgpack to $1 "
145145patchVersion polywrap-msgpack $1
146146patchVersionResult=$?
@@ -165,7 +165,7 @@ if [ "$waitForPackagePublishResult" -ne "0" ]; then
165165 exit 1
166166fi
167167
168- # Patching Verion of polywrap-manifest
168+ # Patching Version of polywrap-manifest
169169echo " Patching Version of polywrap-manifest to $1 "
170170deps=(polywrap-msgpack)
171171patchVersion polywrap-manifest $1 deps
@@ -191,7 +191,7 @@ if [ "$waitForPackagePublishResult" -ne "0" ]; then
191191 exit 1
192192fi
193193
194- # Patching Verion of polywrap-core
194+ # Patching Version of polywrap-core
195195echo " Patching Version of polywrap-core to $1 "
196196deps=(polywrap-manifest)
197197patchVersion polywrap-core $1 deps
@@ -217,7 +217,7 @@ if [ "$waitForPackagePublishResult" -ne "0" ]; then
217217 exit 1
218218fi
219219
220- # Patching Verion of polywrap-wasm
220+ # Patching Version of polywrap-wasm
221221echo " Patching Version of polywrap-wasm to $1 "
222222deps=(polywrap-msgpack polywrap-manifest polywrap-core)
223223patchVersion polywrap-wasm $1 deps
@@ -243,7 +243,7 @@ if [ "$waitForPackagePublishResult" -ne "0" ]; then
243243 exit 1
244244fi
245245
246- # Patching Verion of polywrap-plugin
246+ # Patching Version of polywrap-plugin
247247echo " Patching Version of polywrap-plugin to $1 "
248248deps=(polywrap-msgpack polywrap-manifest polywrap-core)
249249patchVersion polywrap-plugin $1 deps
@@ -269,7 +269,7 @@ if [ "$waitForPackagePublishResult" -ne "0" ]; then
269269 exit 1
270270fi
271271
272- # Patching Verion of polywrap-uri-resolvers
272+ # Patching Version of polywrap-uri-resolvers
273273echo " Patching Version of polywrap-uri-resolvers to $1 "
274274deps=(polywrap-wasm polywrap-core)
275275patchVersion polywrap-uri-resolvers $1 deps
@@ -295,7 +295,33 @@ if [ "$waitForPackagePublishResult" -ne "0" ]; then
295295 exit 1
296296fi
297297
298- # Patching Verion of polywrap-client
298+ # Patching Version of polywrap-client-config-builder
299+ echo " Patching Version of polywrap-client-config-builder to $1 "
300+ deps=(polywrap-core polywrap-uri-resolvers)
301+ patchVersion polywrap-client-config-builder $1 deps
302+ patchVersionResult=$?
303+ if [ " $patchVersionResult " -ne " 0" ]; then
304+ echo " Failed to bump version of polywrap-client-config-builder to $1 "
305+ exit 1
306+ fi
307+
308+ echo " Publishing polywrap-client-config-builder"
309+ publishPackage polywrap-client-config-builder $1 $2 $3
310+ publishResult=$?
311+ if [ " $publishResult " -ne " 0" ]; then
312+ echo " Failed to publish polywrap-client-config-builder"
313+ exit 1
314+ fi
315+
316+ echo " Waiting for the package to be published"
317+ waitForPackagePublish polywrap-client-config-builder $1
318+ waitForPackagePublishResult=$?
319+ if [ " $waitForPackagePublishResult " -ne " 0" ]; then
320+ echo " Failed to publish polywrap-client-config-builder"
321+ exit 1
322+ fi
323+
324+ # Patching Version of polywrap-client
299325echo " Patching Version of polywrap-client to $1 "
300326deps=(polywrap-msgpack polywrap-manifest polywrap-core polywrap-uri-resolvers)
301327patchVersion polywrap-client $1 deps
0 commit comments