Update README and CHANGELOG

This commit is contained in:
Philipp Krones 2024-10-07 19:23:40 +02:00
parent eb6c346137
commit 65fdfb835c
No known key found for this signature in database
GPG key ID: 1CA0DF2AF59D68A5
2 changed files with 11 additions and 2 deletions

View file

@ -1,5 +1,14 @@
# Changelog # 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 ## Version 0.3.0
* Added `setup_version_info!();` macro for automated scripts. * Added `setup_version_info!();` macro for automated scripts.

View file

@ -13,10 +13,10 @@ build = "build.rs"
List rustc_tools_util as regular AND build dependency. List rustc_tools_util as regular AND build dependency.
````toml ````toml
[dependencies] [dependencies]
rustc_tools_util = "0.3.0" rustc_tools_util = "0.4.0"
[build-dependencies] [build-dependencies]
rustc_tools_util = "0.3.0" rustc_tools_util = "0.4.0"
```` ````
In `build.rs`, generate the data in your `main()` In `build.rs`, generate the data in your `main()`