Skip to content

Commit 39a056c

Browse files
author
bestia.dev
committed
update main.rs
1 parent 7ed77d4 commit 39a056c

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ssh_auth_podman_push"
33
# binary executable does not need to be SemVer, because nobody depends on it
4-
version = "1.1.9"
4+
version = "1.1.10"
55
description = "Store and use encrypted docker-hub secret_token with SSH key"
66
authors = ["bestia.dev"]
77
homepage = "https://bestia.dev"

automation_tasks_rs/src/main.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ mod build_lib_mod;
77
mod cargo_auto_github_api_mod;
88
mod encrypt_decrypt_with_ssh_key_mod;
99
mod generic_functions_mod;
10+
mod tasks_mod;
1011

1112
pub use cargo_auto_lib as cl;
1213

1314
use crate::cargo_auto_github_api_mod as cgl;
1415
use crate::encrypt_decrypt_with_ssh_key_mod as ende;
1516
use crate::generic_functions_mod as gn;
17+
use crate::tasks_mod as ts;
1618

1719
pub use cl::{BLUE, GREEN, RED, RESET, YELLOW};
1820

@@ -187,7 +189,7 @@ fn task_release() {
187189

188190
/// cargo doc, then copies to /docs/ folder, because this is a GitHub standard folder
189191
fn task_doc() {
190-
gn::task_doc();
192+
ts::task_doc();
191193
// message to help user with next move
192194
println!(
193195
r#"
@@ -211,7 +213,7 @@ fn task_test() {
211213

212214
/// commit and push
213215
fn task_commit_and_push(arg_2: Option<String>) {
214-
gn::task_commit_and_push(arg_2);
216+
ts::task_commit_and_push(arg_2);
215217
println!(
216218
r#"
217219
{YELLOW}After `cargo auto commit_and_push "message"`{RESET}
@@ -235,7 +237,7 @@ fn task_publish_to_crates_io() {
235237

236238
/// create a new release on github and uploads binary executables
237239
fn task_github_new_release() {
238-
gn::task_github_new_release();
240+
ts::task_github_new_release();
239241
println!(
240242
r#"
241243
{YELLOW}No more automation tasks. {RESET}

0 commit comments

Comments
 (0)