chore: make sure repo is clean before publish

This commit is contained in:
gak 2023-08-30 15:57:25 +10:00
parent d32c84a056
commit 969622f178
No known key found for this signature in database

View file

@ -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