setup:
git config core.hooksPath .githooks
version bump:
cargo set-version --bump {{bump}}
@VERSION=$(cargo pkgid | sed 's/.*@//') && \
git add Cargo.toml Cargo.lock && \
git commit -m "v$VERSION"
publish:
@VERSION=$(cargo pkgid | sed 's/.*@//') && \
git tag "v$VERSION" && \
git push && \
git push origin "v$VERSION"
cargo publish