mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
add an ugly script to publish the crates
This commit is contained in:
parent
4f5e9ecb39
commit
d3c6ce0b94
1 changed files with 24 additions and 0 deletions
24
util/publish.sh
Normal file
24
util/publish.sh
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
ARG=""
|
||||||
|
if test "$1" != "--do-it"; then
|
||||||
|
ARG="--dry-run --allow-dirty"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd src/uucore/
|
||||||
|
cargo publish $ARG
|
||||||
|
cd -
|
||||||
|
|
||||||
|
cd src/uu/stdbuf/src/libstdbuf/
|
||||||
|
cargo publish $ARG
|
||||||
|
cd -
|
||||||
|
|
||||||
|
PROGS=$(ls -1d src/uu/*/)
|
||||||
|
for p in $PROGS; do
|
||||||
|
cd $p
|
||||||
|
cargo publish $ARG
|
||||||
|
cd -
|
||||||
|
done
|
||||||
|
|
||||||
|
cargo publish $ARG
|
Loading…
Add table
Add a link
Reference in a new issue