generated from PlexSheep/baserepo
publish script cool
cargo devel CI / cargo CI (push) Successful in 2m0s
Details
cargo devel CI / cargo CI (push) Successful in 2m0s
Details
This commit is contained in:
parent
e0bc9cba0b
commit
54eac92ca7
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
PKGs=(libpt-{core,math,log,net,bintols,ccc,hedu,bin,py} libpt)
|
|
||||||
for PKG in "${PKGs[@]}"; do
|
|
||||||
echo "Package: $PKG"
|
|
||||||
cargo publish --registry cscherr -p "$PKG"
|
|
||||||
cargo publish -p "$PKG"
|
|
||||||
done
|
|
|
@ -1,3 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cargo ws publish --registry cscherr --publish-as-is
|
set -e
|
||||||
|
cargo check --all-features
|
||||||
|
cargo ws version --no-git-commit
|
||||||
|
NEW_VERSION=$(cat Cargo.toml| rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1')
|
||||||
|
bash scripts/set_all_versions.sh $NEW_VERSION
|
||||||
|
git add -A
|
||||||
|
git commit -m "Release v$NEW_VERSION"
|
||||||
|
cargo ws publish --registry cscherr --amend --publish-as-is
|
||||||
cargo publish --registry cscherr -p libpt
|
cargo publish --registry cscherr -p libpt
|
||||||
|
|
Reference in New Issue