Bug 1888590 - Mark some subtests on trusted-types-event-handlers.html as failing...
[gecko.git] / third_party / rust / prost / publish-release.sh
blob9b014af3a5a1b09a9a087dfa0808dc8b741b6b8c
1 #!/bin/bash
3 # Script which automates publishing a crates.io release of the prost crates.
5 set -ex
7 if [ "$#" -ne 0 ]
8 then
9 echo "Usage: $0"
10 exit 1
13 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
15 CRATES=( \
16 "prost-derive" \
17 "." \
18 "prost-types" \
19 "prost-build" \
22 for CRATE in "${CRATES[@]}"; do
23 pushd "$DIR/$CRATE"
25 echo "Publishing $CRATE"
27 cargo publish
29 echo "Sleeping 5 seconds...for the release to be visible"
30 sleep 5
32 popd
33 done