Skip to content

Commit

Permalink
releases latest download
Browse files Browse the repository at this point in the history
  • Loading branch information
bestia.dev committed May 14, 2024
1 parent 8322f24 commit 6c306ef
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/template_new_auto_for_cli_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! template for new_auto_for_cli (automation_tasks_rs)
//!
//! The template is downloaded from github
//! <https://github.com/automation-tasks-rs/cargo_auto_template_new_auto_for_cli/releases/download/v1.0.0/template.tar.gz>
//! <https://github.com/automation-tasks-rs/cargo_auto_template_new_auto_for_cli/releases/latest/download/template.tar.gz>
#[allow(unused)]
use crate::{GREEN, RED, RESET, YELLOW};
Expand Down Expand Up @@ -38,7 +38,7 @@ pub fn copy_to_files(rust_project_name: &str) {
println!("{YELLOW}Downloading template.tar.gz...{RESET}");
let file_name = "template.tar.gz";
let path = "./template.tar.gz";
let url = "https://github.com/automation-tasks-rs/cargo_auto_template_new_auto_for_cli/releases/download/v1.0.0/template.tar.gz";
let url = "https://github.com/automation-tasks-rs/cargo_auto_template_new_auto_for_cli/releases/latest/download/template.tar.gz";
let reqwest_client = reqwest::blocking::Client::new();
let http_response = reqwest_client.get(url).send();
if http_response.is_err() {
Expand Down
4 changes: 2 additions & 2 deletions src/template_new_cli_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! template for new_cli
//!
//! The template is downloaded from github
//! <https://github.com/automation-tasks-rs/cargo_auto_template_new_cli/releases/download/v0.0.3/template.tar.gz>
//! <https://github.com/automation-tasks-rs/cargo_auto_template_new_cli/releases/latest/download/template.tar.gz>
use crate::{GREEN, RED, RESET, YELLOW};

Expand Down Expand Up @@ -41,7 +41,7 @@ pub fn copy_to_files(rust_project_name: &str, github_owner_or_organization: &str
println!("{YELLOW}Downloading template.tar.gz...{RESET}");
let file_name = "template.tar.gz";
let path = "./template.tar.gz";
let url = "https://github.com/automation-tasks-rs/cargo_auto_template_new_cli/releases/download/v0.0.3/template.tar.gz";
let url = "https://github.com/automation-tasks-rs/cargo_auto_template_new_cli/releases/latest/download/template.tar.gz";
let reqwest_client = reqwest::blocking::Client::new();
let http_response = reqwest_client.get(url).send();
if http_response.is_err() {
Expand Down
4 changes: 2 additions & 2 deletions src/template_new_pwa_wasm_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! template for new_pwa_wasm
//!
//! The template is downloaded from github
//! <https://github.com/automation-tasks-rs/cargo_auto_template_new_pwa_wasm/releases/download/v0.0.5/template.tar.gz>
//! <https://github.com/automation-tasks-rs/cargo_auto_template_new_pwa_wasm/releases/latest/download/template.tar.gz>
use crate::{GREEN, RED, RESET, YELLOW};

Expand Down Expand Up @@ -140,7 +140,7 @@ pub fn copy_to_files(rust_project_name: &str, github_owner_or_organization: &str
println!("{YELLOW}Downloading template.tar.gz...{RESET}");
let file_name = "template.tar.gz";
let path = "./template.tar.gz";
let url = "https://github.com/automation-tasks-rs/cargo_auto_template_new_pwa_wasm/releases/download/v0.0.5/template.tar.gz";
let url = "https://github.com/automation-tasks-rs/cargo_auto_template_new_pwa_wasm/releases/latest/download/template.tar.gz";
let reqwest_client = reqwest::blocking::Client::new();
let http_response = reqwest_client.get(url).send();
if http_response.is_err() {
Expand Down
4 changes: 2 additions & 2 deletions src/template_new_wasm_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! template for new_wasm
//!
//! The template is downloaded from github
//! <https://github.com/automation-tasks-rs/cargo_auto_template_new_wasm/releases/download/v0.0.2/template.tar.gz>
//! <https://github.com/automation-tasks-rs/cargo_auto_template_new_wasm/releases/latest/download/template.tar.gz>
use crate::{GREEN, RED, RESET, YELLOW};

Expand Down Expand Up @@ -52,7 +52,7 @@ pub fn copy_to_files(rust_project_name: &str, github_owner_or_organization: &str
println!("{YELLOW}Downloading template.tar.gz...{RESET}");
let file_name = "template.tar.gz";
let path = "./template.tar.gz";
let url = "https://github.com/automation-tasks-rs/cargo_auto_template_new_wasm/releases/download/v0.0.2/template.tar.gz";
let url = "https://github.com/automation-tasks-rs/cargo_auto_template_new_wasm/releases/latest/download/template.tar.gz";
let reqwest_client = reqwest::blocking::Client::new();
let http_response = reqwest_client.get(url).send();
if http_response.is_err() {
Expand Down

0 comments on commit 6c306ef

Please sign in to comment.