summaryrefslogtreecommitdiffstats
path: root/rust/vendor/test-case/publish.sh
blob: e2710bfd917cdfcfb63404b0d8620e8a46d926e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --all
cargo test --all --all-features

nvim Cargo.toml
cargo build

nvim CHANGELOG.md
nvim src/lib.rs

cargo readme > README.md

cargo publish --dry-run --allow-dirty

git add .
git commit
git push origin

echo "Next step: Wait for CI"
echo "Next step: \`git tag vX.Y.Z; git push --tags\`"
echo "Next step: Create release in Github"
echo "Next step: \`cargo publish\`"