chore: make sure repo is clean before publish
This commit is contained in:
parent
d32c84a056
commit
969622f178
2
justfile
2
justfile
|
@ -12,6 +12,8 @@ token_tests:
|
||||||
cargo run -- api energy-sites
|
cargo run -- api energy-sites
|
||||||
|
|
||||||
publish version:
|
publish version:
|
||||||
|
git diff-index --quiet HEAD
|
||||||
|
|
||||||
# BSD sed
|
# BSD sed
|
||||||
sed -i '' "s/^version = \".*\"$/version = \"{{version}}\"/" Cargo.toml
|
sed -i '' "s/^version = \".*\"$/version = \"{{version}}\"/" Cargo.toml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue