diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-27 22:53:32 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-27 22:53:32 +0800 |
| commit | 176fcf6fb761cb42ab25ebf447ee226955c54fef (patch) | |
| tree | 3239c3af97d95faa9be23d99a5fe7d881cebed1a /.run/src/bin/update-version.rs | |
| parent | e88fd90b6daae40e9ef5d4b0d54a81ebd7142ebe (diff) | |
chore: move config files to .config directory0.3.0
Diffstat (limited to '.run/src/bin/update-version.rs')
| -rw-r--r-- | .run/src/bin/update-version.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.run/src/bin/update-version.rs b/.run/src/bin/update-version.rs index 9d595bb..2283662 100644 --- a/.run/src/bin/update-version.rs +++ b/.run/src/bin/update-version.rs @@ -56,11 +56,11 @@ fn main() { println_cargo_style!("Version: {} -> {}", current_ver, new_ver); // Read version-files.toml - let config_path = Path::new(".run").join("version-files.toml"); + let config_path = Path::new(".config").join("version-files.toml"); let config_str = - std::fs::read_to_string(&config_path).expect("Failed to read .run/version-files.toml"); + std::fs::read_to_string(&config_path).expect("Failed to read .config/version-files.toml"); let config: Config = - toml::from_str(&config_str).expect("Failed to parse .run/version-files.toml"); + toml::from_str(&config_str).expect("Failed to parse .config/version-files.toml"); let mut updated_count = 0; let mut skipped_count = 0; |
