diff --git a/automation_tasks_rs/src/main.rs b/automation_tasks_rs/src/main.rs
index 825cc84..4faae7e 100644
--- a/automation_tasks_rs/src/main.rs
+++ b/automation_tasks_rs/src/main.rs
@@ -424,7 +424,7 @@ fn task_github_new_release() {
// take care of tags
let tag_name_version = cl::git_tag_sync_check_create_push(&version);
- let owner = cargo_toml.github_owner().unwrap();
+ let github_owner = cargo_toml.github_owner().unwrap();
let repo_name = cargo_toml.package_name();
let now_date = cl::now_utc_date_iso();
let release_name = format!("Version {} ({})", &version, now_date);
@@ -435,7 +435,7 @@ fn task_github_new_release() {
let body_md_text = cl::body_text_from_releases_md().unwrap();
let github_client = github_mod::GitHubClient::new_with_stored_secret_token();
- let json_value = github_client.send_to_github_api(cgl::github_api_create_new_release(&owner, &repo_name, &tag_name_version, &release_name, branch, &body_md_text));
+ let json_value = github_client.send_to_github_api(cgl::github_api_create_new_release(&github_owner, &repo_name, &tag_name_version, &release_name, branch, &body_md_text));
// early exit on error
if let Some(error_message) = json_value.get("message") {
eprintln!("{RED}{error_message}{RESET}");
@@ -477,7 +477,7 @@ fn task_github_new_release() {
.run().unwrap_or_else(|e| panic!("{e}"));
// upload asset
- cgl::github_api_upload_asset_to_release(&github_client, &owner, &repo_name, &release_id, &tar_name);
+ cgl::github_api_upload_asset_to_release(&github_client, &github_owner, &repo_name, &release_id, &tar_name);
cl::ShellCommandLimitedDoubleQuotesSanitizer::new(
r#"rm "{tar_name_sanitized_for_double_quote}" "#).unwrap_or_else(|e| panic!("{e}"))
@@ -494,7 +494,7 @@ fn task_github_new_release() {
println!(
r#"
-{GREEN}https://github.com/{owner}/{repo_name}/releases{RESET}
+{GREEN}https://github.com/{github_owner}/{repo_name}/releases{RESET}
"#
);
}
diff --git a/docs/src/cargo_auto_local_lib/template_new_auto_mod.rs.html b/docs/src/cargo_auto_local_lib/template_new_auto_mod.rs.html
index 2f5eb57..ff25a3e 100644
--- a/docs/src/cargo_auto_local_lib/template_new_auto_mod.rs.html
+++ b/docs/src/cargo_auto_local_lib/template_new_auto_mod.rs.html
@@ -1992,7 +1992,7 @@
Files
// take care of tags
let tag_name_version = cl::git_tag_sync_check_create_push(&version);
- let owner = cargo_toml.github_owner().unwrap();
+ let github_owner = cargo_toml.github_owner().unwrap();
let repo_name = cargo_toml.package_name();
let now_date = cl::now_utc_date_iso();
let release_name = format!("Version {} ({})", &version, now_date);
@@ -2003,7 +2003,7 @@ Files
let body_md_text = cl::body_text_from_releases_md().unwrap();
let github_client = github_mod::GitHubClient::new_with_stored_secret_token();
- let json_value = github_client.send_to_github_api(cgl::github_api_create_new_release(&owner, &repo_name, &tag_name_version, &release_name, branch, &body_md_text));
+ let json_value = github_client.send_to_github_api(cgl::github_api_create_new_release(&github_owner, &repo_name, &tag_name_version, &release_name, branch, &body_md_text));
// early exit on error
if let Some(error_message) = json_value.get("message") {
eprintln!("{RED}{error_message}{RESET}");
@@ -2045,7 +2045,7 @@ Files
.run().unwrap_or_else(|e| panic!("{e}"));
// upload asset
- cgl::github_api_upload_asset_to_release(&github_client, &owner, &repo_name, &release_id, &tar_name);
+ cgl::github_api_upload_asset_to_release(&github_client, &github_owner, &repo_name, &release_id, &tar_name);
cl::ShellCommandLimitedDoubleQuotesSanitizer::new(
r#"rm "{tar_name_sanitized_for_double_quote}" "#).unwrap_or_else(|e| panic!("{e}"))
@@ -2062,7 +2062,7 @@ Files
println!(
r#"
-{GREEN}https://github.com/{owner}/{repo_name}/releases{RESET}
+{GREEN}https://github.com/{github_owner}/{repo_name}/releases{RESET}
"#
);
}
diff --git a/docs/src/cargo_auto_local_lib/template_new_cli_mod.rs.html b/docs/src/cargo_auto_local_lib/template_new_cli_mod.rs.html
index 28c084f..6c42dea 100644
--- a/docs/src/cargo_auto_local_lib/template_new_cli_mod.rs.html
+++ b/docs/src/cargo_auto_local_lib/template_new_cli_mod.rs.html
@@ -155,7 +155,7 @@ Files
}
if github_owner_or_organization.is_none() {
println!("{RED}Error: Github owner argument is missing: `cargo auto new_cli project_name github_owner_or_organization`{RESET}");
+"string">"{RED}Error: Github github_owner argument is missing: `cargo auto new_cli project_name github_owner_or_organization`{RESET}");
return;
}
let rust_project_name = rust_project_name.unwrap();
diff --git a/docs/src/cargo_auto_local_lib/template_new_pwa_wasm_mod.rs.html b/docs/src/cargo_auto_local_lib/template_new_pwa_wasm_mod.rs.html
index 71cdd35..84151e3 100644
--- a/docs/src/cargo_auto_local_lib/template_new_pwa_wasm_mod.rs.html
+++ b/docs/src/cargo_auto_local_lib/template_new_pwa_wasm_mod.rs.html
@@ -325,7 +325,7 @@ Files
}
if github_owner_or_organization.is_none() {
println!("{RED}Error: Github owner or Organization argument is missing: `cargo auto new_pwa_wasm project_name github_owner_or_organization web_server server_username`{RESET}");
+"string">"{RED}Error: Github github_owner or Organization argument is missing: `cargo auto new_pwa_wasm project_name github_owner_or_organization web_server server_username`{RESET}");
return;
}
if web_server_domain.is_none() {
diff --git a/docs/src/cargo_auto_local_lib/template_new_wasm_mod.rs.html b/docs/src/cargo_auto_local_lib/template_new_wasm_mod.rs.html
index 20cc003..624ee11 100644
--- a/docs/src/cargo_auto_local_lib/template_new_wasm_mod.rs.html
+++ b/docs/src/cargo_auto_local_lib/template_new_wasm_mod.rs.html
@@ -169,7 +169,7 @@ Files
}
if github_owner_or_organization.is_none() {
println!("{RED}Error: Github owner or Organization argument is missing: `cargo auto new_wasm project_name github_owner_or_organization web_server server_username`{RESET}");
+"string">"{RED}Error: Github github_owner or Organization argument is missing: `cargo auto new_wasm project_name github_owner_or_organization web_server server_username`{RESET}");
return;
}
if web_server_domain.is_none() {
diff --git a/docs/static.files/LICENSE-APACHE-b91fa81cba47b86a.txt b/docs/static.files/LICENSE-APACHE-b91fa81cba47b86a.txt
index 16fe87b..924d77a 100644
--- a/docs/static.files/LICENSE-APACHE-b91fa81cba47b86a.txt
+++ b/docs/static.files/LICENSE-APACHE-b91fa81cba47b86a.txt
@@ -9,7 +9,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
- "Licensor" shall mean the copyright owner or entity authorized by
+ "Licensor" shall mean the copyright github_owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
diff --git a/src/template_new_auto_mod.rs b/src/template_new_auto_mod.rs
index f7b062d..31c01fd 100644
--- a/src/template_new_auto_mod.rs
+++ b/src/template_new_auto_mod.rs
@@ -475,7 +475,7 @@ fn task_github_new_release() {
// take care of tags
let tag_name_version = cl::git_tag_sync_check_create_push(&version);
- let owner = cargo_toml.github_owner().unwrap();
+ let github_owner = cargo_toml.github_owner().unwrap();
let repo_name = cargo_toml.package_name();
let now_date = cl::now_utc_date_iso();
let release_name = format!("Version {} ({})", &version, now_date);
@@ -486,7 +486,7 @@ fn task_github_new_release() {
let body_md_text = cl::body_text_from_releases_md().unwrap();
let github_client = github_mod::GitHubClient::new_with_stored_secret_token();
- let json_value = github_client.send_to_github_api(cgl::github_api_create_new_release(&owner, &repo_name, &tag_name_version, &release_name, branch, &body_md_text));
+ let json_value = github_client.send_to_github_api(cgl::github_api_create_new_release(&github_owner, &repo_name, &tag_name_version, &release_name, branch, &body_md_text));
// early exit on error
if let Some(error_message) = json_value.get("message") {
eprintln!("{RED}{error_message}{RESET}");
@@ -528,7 +528,7 @@ fn task_github_new_release() {
.run().unwrap_or_else(|e| panic!("{e}"));
// upload asset
- cgl::github_api_upload_asset_to_release(&github_client, &owner, &repo_name, &release_id, &tar_name);
+ cgl::github_api_upload_asset_to_release(&github_client, &github_owner, &repo_name, &release_id, &tar_name);
cl::ShellCommandLimitedDoubleQuotesSanitizer::new(
r#"rm "{tar_name_sanitized_for_double_quote}" "#).unwrap_or_else(|e| panic!("{e}"))
@@ -545,7 +545,7 @@ fn task_github_new_release() {
println!(
r#"
-{GREEN}https://github.com/{owner}/{repo_name}/releases{RESET}
+{GREEN}https://github.com/{github_owner}/{repo_name}/releases{RESET}
"#
);
}
diff --git a/src/template_new_cli_mod.rs b/src/template_new_cli_mod.rs
index 532577c..60c5e71 100644
--- a/src/template_new_cli_mod.rs
+++ b/src/template_new_cli_mod.rs
@@ -13,7 +13,7 @@ pub fn new_cli(rust_project_name: Option, github_owner_or_organization:
return;
}
if github_owner_or_organization.is_none() {
- println!("{RED}Error: Github owner argument is missing: `cargo auto new_cli project_name github_owner_or_organization`{RESET}");
+ println!("{RED}Error: github_owner argument is missing: `cargo auto new_cli project_name github_owner_or_organization`{RESET}");
return;
}
let rust_project_name = rust_project_name.unwrap();
diff --git a/src/template_new_pwa_wasm_mod.rs b/src/template_new_pwa_wasm_mod.rs
index da4f278..f84cf27 100644
--- a/src/template_new_pwa_wasm_mod.rs
+++ b/src/template_new_pwa_wasm_mod.rs
@@ -72,7 +72,7 @@ pub fn new_pwa_wasm(rust_project_name: Option, github_owner_or_organizat
return;
}
if github_owner_or_organization.is_none() {
- println!("{RED}Error: Github owner or Organization argument is missing: `cargo auto new_pwa_wasm project_name github_owner_or_organization web_server server_username`{RESET}");
+ println!("{RED}Error: github_owner or Organization argument is missing: `cargo auto new_pwa_wasm project_name github_owner_or_organization web_server server_username`{RESET}");
return;
}
if web_server_domain.is_none() {
diff --git a/src/template_new_wasm_mod.rs b/src/template_new_wasm_mod.rs
index 0fbba8d..64edd24 100644
--- a/src/template_new_wasm_mod.rs
+++ b/src/template_new_wasm_mod.rs
@@ -13,7 +13,7 @@ pub fn new_wasm(rust_project_name: Option, github_owner_or_organization:
return;
}
if github_owner_or_organization.is_none() {
- println!("{RED}Error: Github owner or Organization argument is missing: `cargo auto new_wasm project_name github_owner_or_organization web_server server_username`{RESET}");
+ println!("{RED}Error: github_owner or Organization argument is missing: `cargo auto new_wasm project_name github_owner_or_organization web_server server_username`{RESET}");
return;
}
if web_server_domain.is_none() {
diff --git a/template_new_auto/src/main.rs b/template_new_auto/src/main.rs
index fb46e62..535555d 100644
--- a/template_new_auto/src/main.rs
+++ b/template_new_auto/src/main.rs
@@ -388,7 +388,7 @@ fn task_github_new_release() {
// take care of tags
let tag_name_version = cl::git_tag_sync_check_create_push(&version);
- let owner = cargo_toml.github_owner().unwrap();
+ let github_owner = cargo_toml.github_owner().unwrap();
let repo_name = cargo_toml.package_name();
let now_date = cl::now_utc_date_iso();
let release_name = format!("Version {} ({})", &version, now_date);
@@ -399,7 +399,7 @@ fn task_github_new_release() {
let body_md_text = cl::body_text_from_releases_md().unwrap();
let github_client = github_mod::GitHubClient::new_with_stored_secret_token();
- let json_value = github_client.send_to_github_api(cgl::github_api_create_new_release(&owner, &repo_name, &tag_name_version, &release_name, branch, &body_md_text));
+ let json_value = github_client.send_to_github_api(cgl::github_api_create_new_release(&github_owner, &repo_name, &tag_name_version, &release_name, branch, &body_md_text));
// early exit on error
if let Some(error_message) = json_value.get("message") {
eprintln!("{RED}{error_message}{RESET}");
@@ -441,7 +441,7 @@ fn task_github_new_release() {
.run().unwrap_or_else(|e| panic!("{e}"));
// upload asset
- cgl::github_api_upload_asset_to_release(&github_client, &owner, &repo_name, &release_id, &tar_name);
+ cgl::github_api_upload_asset_to_release(&github_client, &github_owner, &repo_name, &release_id, &tar_name);
cl::ShellCommandLimitedDoubleQuotesSanitizer::new(
r#"rm "{tar_name_sanitized_for_double_quote}" "#).unwrap_or_else(|e| panic!("{e}"))
@@ -458,7 +458,7 @@ fn task_github_new_release() {
println!(
r#"
-{GREEN}https://github.com/{owner}/{repo_name}/releases{RESET}
+{GREEN}https://github.com/{github_owner}/{repo_name}/releases{RESET}
"#
);
}