mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
feat: build.rs version message (#2839)
* feat: build.rs version message * doc: changelog --------- Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
This commit is contained in:
parent
b18becdec6
commit
3cf7a818d1
2 changed files with 7 additions and 3 deletions
|
|
@ -8,10 +8,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
## Unreleased
|
||||
|
||||
### Changed
|
||||
<<<<<<< feat/version-message
|
||||
* improve `gitui --version` message [[@hlsxx](https://github.com/hlsxx)] ([#2838](https://github.com/gitui-org/gitui/issues/2838))
|
||||
=======
|
||||
* rust msrv bumped to `1.88`
|
||||
|
||||
### Fixed
|
||||
* fix panic when renaming or updating remote URL with no remotes configured [[@xvchris](https://github.com/xvchris)] ([#2868](https://github.com/gitui-org/gitui/issues/2868))
|
||||
>>>>>>> master
|
||||
|
||||
## [0.28.0] - 2025-12-14
|
||||
|
||||
|
|
|
|||
6
build.rs
6
build.rs
|
|
@ -34,14 +34,14 @@ fn main() {
|
|||
let build_date = now.date_naive();
|
||||
|
||||
let build_name = if std::env::var("GITUI_RELEASE").is_ok() {
|
||||
env!("CARGO_PKG_VERSION").to_string()
|
||||
} else {
|
||||
format!(
|
||||
"{} {} ({})",
|
||||
"{}-nightly {} ({})",
|
||||
env!("CARGO_PKG_VERSION"),
|
||||
build_date,
|
||||
get_git_hash()
|
||||
)
|
||||
} else {
|
||||
format!("nightly {} ({})", build_date, get_git_hash())
|
||||
};
|
||||
|
||||
println!("cargo:warning=buildname '{build_name}'");
|
||||
|
|
|
|||
Loading…
Reference in a new issue