Skip to content

Commit 65fdfb8

Browse files
committed
Update README and CHANGELOG
1 parent eb6c346 commit 65fdfb8

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

rustc_tools_util/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## Version 0.4.0
4+
5+
* The commit hashes are now always 10 characters long [#13222](https://github.com/rust-lang/rust-clippy/pull/13222)
6+
* `get_commit_date` and `get_commit_hash` now return `None` if the `git` command fails instead of `Some("")`
7+
[#13217](https://github.com/rust-lang/rust-clippy/pull/13217)
8+
* `setup_version_info` will now re-run when the git commit changes
9+
[#13329](https://github.com/rust-lang/rust-clippy/pull/13329)
10+
* New `rerun_if_git_changes` function was added [#13329](https://github.com/rust-lang/rust-clippy/pull/13329)
11+
312
## Version 0.3.0
413

514
* Added `setup_version_info!();` macro for automated scripts.

rustc_tools_util/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ build = "build.rs"
1313
List rustc_tools_util as regular AND build dependency.
1414
````toml
1515
[dependencies]
16-
rustc_tools_util = "0.3.0"
16+
rustc_tools_util = "0.4.0"
1717

1818
[build-dependencies]
19-
rustc_tools_util = "0.3.0"
19+
rustc_tools_util = "0.4.0"
2020
````
2121

2222
In `build.rs`, generate the data in your `main()`

0 commit comments

Comments
 (0)