@smbcloud / cli / commits / 42d9075

Revert "update generated config to include tool version"

This reverts commit b2569abc7f8a57ae02b8a87b0db9c085fee4181e.

Seto Elkahfi committed Jun 6, 2025 at 12:38 UTC 42d9075a79bae057067b862ffaf0b0e7bbcafee4
1 file changed +1 -5
crates/cli/src/project/crud_create.rs
+1 -5
@@ -82,7 +82,6 @@ async fn setup_smb_folder(name: &str, description: &str) -> Result<()> {
82 // Create config.toml file in the .smb folder
83 let repository_name = name.to_lowercase().replace(" ", "");
84 let now = Utc::now().to_rfc3339();
85 - let cli_version = env!("CARGO_PKG_VERSION");
85 std::fs::write(
86 ".smb/config.toml",
87 format!(
@@ -94,10 +93,7 @@ id = 1
93 name = "{repository_name}"
94 description = "{description}"
95 created_at = "{now}"
97 -updated_at = "{now}"
98 -
99 -# Generated by smbcloud-cli
100 -smbcloud_cli_version = "{cli_version}"
96 +updated_at = "{now}"
97 "#,
98 ),
99 )?;