Skip to content

Commit c76fce7

Browse files
retrying until success to package diffus
1 parent ab0a2c2 commit c76fce7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

publish.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ cargo_publish () {
5757
git push origin "${VERSION}"
5858
git push origin master
5959
cargo_publish diffus-derive
60-
./wait_for_crate.sh diffus-derive "${VERSION}"
61-
cargo_publish diffus
60+
until cargo_publish diffus; do
61+
printf '.'
62+
sleep 1
63+
done
6264
;;
6365
*)
6466
git checkout .

0 commit comments

Comments
 (0)