feat: release easier

This commit is contained in:
gak 2023-08-30 15:54:22 +10:00
parent cb8df6019a
commit 473bb25061
No known key found for this signature in database

View file

@ -10,3 +10,13 @@ token_tests:
cargo run -- api vehicles
cargo run --no-default-features --features cli -- api vehicles
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