Skip to content

Commit e9228ef

Browse files
committed
fix: version.rs 使用 CARGO_PKG_VERSION 自动同步,修复 1.0.1 显示为 1.0.0
1 parent 6face02 commit e9228ef

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/codexmate-core/src/version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pub const VERSION: &str = "1.0.0";
1+
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
22

33
#[cfg(test)]
44
mod tests {

0 commit comments

Comments
 (0)