Skip to content

Commit

Permalink
chore(ci): update pocket-ic client
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Oct 23, 2024
1 parent 584cd61 commit be0e042
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/update-replica.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ niv update sandbox_launcher-x86_64-linux -a rev="$SHA"
niv update sns-x86_64-darwin -a rev="$SHA"
niv update sns-x86_64-linux -a rev="$SHA"

# pocket-ic client needs to be upgraded to the same SHA as the pocket-ic server
perl -i.bak -pe "s/(pocket-ic = {[^}]*rev = \")[a-f0-9]+(\")/\1$SHA\2/" src/dfx/Cargo.toml
cargo update -p pocket-ic # refresh the lock file

echo "Writing asset sources"
./scripts/write-dfx-asset-sources.sh

Expand Down

0 comments on commit be0e042

Please sign in to comment.