Skip to content

Commit e1c3342

Browse files
committed
Update Cargo.lock & Add notes on todo in publish.sh
1 parent 68949da commit e1c3342

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

Cargo.lock

+23-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

publish.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function publishCrates {
4747
crate_path="$WORKINGDIR/$CRATE"
4848
crate_path=${crate_path//\/\///}
4949
cd $crate_path
50-
50+
# Also need to update Cargo.lock in root directory
5151
crate_name=`echo $( awk -v FS="name = " 'NF>1{print $2; exit}' Cargo.toml )`
5252
echo "Publishing $crate_name to crates.io"
5353
if [ "$CRATE" == "protocol" ]
@@ -58,6 +58,7 @@ function publishCrates {
5858
cargo publish
5959
fi
6060
echo "Successfully published $crate_name to crates.io"
61+
# Should sleep here for 30 seconds to allow Crates.io time to push updated package to edge servers.
6162
done
6263
}
6364

0 commit comments

Comments
 (0)