feat: release easier
This commit is contained in:
parent
cb8df6019a
commit
473bb25061
10
justfile
10
justfile
|
@ -10,3 +10,13 @@ token_tests:
|
||||||
cargo run -- api vehicles
|
cargo run -- api vehicles
|
||||||
cargo run --no-default-features --features cli -- api vehicles
|
cargo run --no-default-features --features cli -- api vehicles
|
||||||
cargo run -- api energy-sites
|
cargo run -- api energy-sites
|
||||||
|
|
||||||
|
publish version:
|
||||||
|
sed -i "s/^version = \".*\"$/version = \"{{version}}\"/" Cargo.toml
|
||||||
|
|
||||||
|
git add Cargo.toml
|
||||||
|
git commit -m "chore: v{{version}}"
|
||||||
|
git tag "v{{version}}"
|
||||||
|
git push origin "v{{version}}"
|
||||||
|
|
||||||
|
cargo publish
|
||||||
|
|
Loading…
Reference in a new issue