mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Small tweak to console output during publishing.
This commit is contained in:
parent
4de9c92a29
commit
22ca944c77
1 changed files with 3 additions and 2 deletions
|
@ -43,10 +43,11 @@ function get_crate_name {
|
||||||
function remoteWait() {
|
function remoteWait() {
|
||||||
IFS=:
|
IFS=:
|
||||||
secs=${1}
|
secs=${1}
|
||||||
|
crate_name=${2}
|
||||||
while [ $secs -gt 0 ]
|
while [ $secs -gt 0 ]
|
||||||
do
|
do
|
||||||
sleep 1 &
|
sleep 1 &
|
||||||
printf "\rSleeping to allow packages to propagate on crates.io servers. Continuing in %2d second(s)." ${secs}
|
printf "\rSleeping to allow %s to propagate on crates.io servers. Continuing in %2d second(s)." ${crate_name} ${secs}
|
||||||
secs=$(( $secs - 1 ))
|
secs=$(( $secs - 1 ))
|
||||||
wait
|
wait
|
||||||
done
|
done
|
||||||
|
@ -75,7 +76,7 @@ function publishCrates {
|
||||||
cargo publish
|
cargo publish
|
||||||
fi
|
fi
|
||||||
echo "Successfully published $crate_name to crates.io"
|
echo "Successfully published $crate_name to crates.io"
|
||||||
remoteWait 30
|
remoteWait 30 crate_name
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue