Skip to content

Commit

Permalink
remove version timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
kingwingfly committed Jun 4, 2024
1 parent dabb052 commit f24aa61
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
- auth: auto fetch after login
- (un)track: show hint after (un)track
- pull: id not found hint improve
- cli version: remove git timestamp

## [0.2.18] - 2024-06-04

Expand Down
1 change: 0 additions & 1 deletion fav_cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ fn main() {
EmitBuilder::builder()
.fail_on_error()
.git_describe(false, true, None)
.git_commit_timestamp()
.emit()
.ok();
EmitBuilder::builder()
Expand Down
6 changes: 1 addition & 5 deletions fav_cli/src/bili/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@ use fav_utils::bili::BiliSets;
use tracing::{error, info};

const VERSION: &str = const_format::formatcp!(
"{} {}\nRUSTC: {} {} {}",
"{}\nRUSTC: {} {} {}",
match option_env!("VERGEN_GIT_DESCRIBE") {
Some(var) => var,
_ => concat!(env!("CARGO_PKG_VERSION"), "(CARGO_PKG_VERSION)"),
},
match option_env!("VERGEN_GIT_COMMIT_TIMESTAMP") {
Some(var) => var,
_ => "unknown-timestamp",
},
env!("VERGEN_RUSTC_HOST_TRIPLE"),
env!("VERGEN_RUSTC_CHANNEL"),
env!("VERGEN_RUSTC_SEMVER")
Expand Down

0 comments on commit f24aa61

Please sign in to comment.