Skip to content

Commit 6b5f58e

Browse files
committed
fix:patch version
1 parent fbcd237 commit 6b5f58e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

scripts/patchVersion.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,51 +45,59 @@ echo "Patching Version of polywrap-msgpack to $1"
4545
patchVersion polywrap-msgpack $1
4646
echo "Publishing polywrap-msgpack"
4747
publishPackage polywrap-msgpack $2 $3
48+
sleep 10 # Wait for the package to be published
4849

4950
# Patching Verion of polywrap-result
5051
echo "Patching Version of polywrap-result to $1"
5152
patchVersion polywrap-result $1
5253
echo "Publishing polywrap-result"
5354
publishPackage polywrap-result $2 $3
55+
sleep 10 # Wait for the package to be published
5456

5557
# Patching Verion of polywrap-manifest
5658
echo "Patching Version of polywrap-manifest to $1"
5759
deps=(polywrap-msgpack polywrap-result)
5860
patchVersion polywrap-manifest $1 deps
5961
echo "Publishing polywrap-manifest"
6062
publishPackage polywrap-manifest $2 $3
63+
sleep 10 # Wait for the package to be published
6164

6265
# Patching Verion of polywrap-core
6366
echo "Patching Version of polywrap-core to $1"
6467
deps=(polywrap-result polywrap-manifest)
6568
patchVersion polywrap-core $1 deps
6669
echo "Publishing polywrap-core"
6770
publishPackage polywrap-core $2 $3
71+
sleep 10 # Wait for the package to be published
6872

6973
# Patching Verion of polywrap-wasm
7074
echo "Patching Version of polywrap-wasm to $1"
7175
deps=(polywrap-msgpack polywrap-result polywrap-manifest polywrap-core)
7276
patchVersion polywrap-wasm $1 deps
7377
echo "Publishing polywrap-wasm"
7478
publishPackage polywrap-wasm $2 $3
79+
sleep 10 # Wait for the package to be published
7580

7681
# Patching Verion of polywrap-plugin
7782
echo "Patching Version of polywrap-plugin to $1"
7883
deps=(polywrap-msgpack polywrap-result polywrap-manifest polywrap-core)
7984
patchVersion polywrap-plugin $1 deps
8085
echo "Publishing polywrap-plugin"
8186
publishPackage polywrap-plugin $2 $3
87+
sleep 10 # Wait for the package to be published
8288

8389
# Patching Verion of polywrap-uri-resolvers
8490
echo "Patching Version of polywrap-uri-resolvers to $1"
8591
deps=(polywrap-result polywrap-wasm polywrap-core)
8692
patchVersion polywrap-uri-resolvers $1 deps
8793
echo "Publishing polywrap-uri-resolvers"
8894
publishPackage polywrap-uri-resolvers $2 $3
95+
sleep 10 # Wait for the package to be published
8996

9097
# Patching Verion of polywrap-client
9198
echo "Patching Version of polywrap-client to $1"
9299
deps=(polywrap-result polywrap-msgpack polywrap-manifest polywrap-core polywrap-uri-resolvers)
93100
patchVersion polywrap-client $1 deps
94101
echo "Publishing polywrap-client"
95102
publishPackage polywrap-client $2 $3
103+
sleep 10 # Wait for the package to be published

0 commit comments

Comments
 (0)