Skip to content

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 13 Sep 03:36
· 43 commits to main since this release

Fixed

  • newgit --version reported (unknown) instead of the commit for every
    binary installed from crates.io. The build stamp was derived by running
    git rev-parse, but a published .crate tarball ships no .git, so the
    stamp only ever worked when building from a clone — the one case where you
    can already see the commit. It now reads the sha1 that cargo publish
    records in .cargo_vcs_info.json, falling back to git for repo builds.
    A tarball packaged with --allow-dirty gets the same -dirty suffix a
    dirty clone does.