Skip to content

Commit

Permalink
2024-02-23
Browse files Browse the repository at this point in the history
  • Loading branch information
luciano_bestia committed Feb 23, 2024
1 parent 456af01 commit f4d4456
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions automation_tasks_rs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fn completion() {

/// cargo build
fn task_build() {
let cargo_toml = CargoToml::read();
let cargo_toml = cl::CargoToml::read();
cl::auto_version_increment_semver_or_date();
cl::run_shell_command("cargo fmt");
cl::run_shell_command("cargo build");
Expand All @@ -134,7 +134,7 @@ package_name = cargo_toml.package_name(),

/// cargo build --release
fn task_release() {
let cargo_toml = CargoToml::read();
let cargo_toml = cl::CargoToml::read();
cl::auto_version_increment_semver_or_date();
cl::auto_cargo_toml_to_md();
cl::auto_lines_of_code("");
Expand Down Expand Up @@ -234,7 +234,7 @@ r#"

/// create a new release on github
fn task_github_new_release() {
let cargo_toml = CargoToml::read();
let cargo_toml = cl::CargoToml::read();
println!(" {YELLOW}The env variable GITHUB_TOKEN must be set: export GITHUB_TOKEN=paste_token_here{RESET}");

// git tag
Expand Down

0 comments on commit f4d4456

Please sign in to comment.