diff options
| author | Philipp Krones <hello@philkrones.com> | 2024-10-07 19:23:40 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2024-10-07 19:23:50 +0200 |
| commit | 65fdfb835c0bc93a444766e449eec8993b110192 (patch) | |
| tree | e95409ed7f4ed23ce0e93de66675cc04313d33bf | |
| parent | eb6c346137f95c584ee0d967d9b34734bb331bf8 (diff) | |
| download | rust-65fdfb835c0bc93a444766e449eec8993b110192.tar.gz rust-65fdfb835c0bc93a444766e449eec8993b110192.zip | |
Update README and CHANGELOG
| -rw-r--r-- | rustc_tools_util/CHANGELOG.md | 9 | ||||
| -rw-r--r-- | rustc_tools_util/README.md | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/rustc_tools_util/CHANGELOG.md b/rustc_tools_util/CHANGELOG.md index 1b351da2e7b..7f628178ea6 100644 --- a/rustc_tools_util/CHANGELOG.md +++ b/rustc_tools_util/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## Version 0.4.0 + +* The commit hashes are now always 10 characters long [#13222](https://github.com/rust-lang/rust-clippy/pull/13222) +* `get_commit_date` and `get_commit_hash` now return `None` if the `git` command fails instead of `Some("")` + [#13217](https://github.com/rust-lang/rust-clippy/pull/13217) +* `setup_version_info` will now re-run when the git commit changes + [#13329](https://github.com/rust-lang/rust-clippy/pull/13329) +* New `rerun_if_git_changes` function was added [#13329](https://github.com/rust-lang/rust-clippy/pull/13329) + ## Version 0.3.0 * Added `setup_version_info!();` macro for automated scripts. diff --git a/rustc_tools_util/README.md b/rustc_tools_util/README.md index 56f62b867a6..1b11dfe0619 100644 --- a/rustc_tools_util/README.md +++ b/rustc_tools_util/README.md @@ -13,10 +13,10 @@ build = "build.rs" List rustc_tools_util as regular AND build dependency. ````toml [dependencies] -rustc_tools_util = "0.3.0" +rustc_tools_util = "0.4.0" [build-dependencies] -rustc_tools_util = "0.3.0" +rustc_tools_util = "0.4.0" ```` In `build.rs`, generate the data in your `main()` |
