Skip to content

Commit

Permalink
✨ check version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Nov 20, 2023
1 parent 390fa7d commit cb21338
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions ci/src/check_asset/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ async fn main() -> Result<()> {

let target = std::env::var("TARGET")?;

let vs_code_txt =
tokio::fs::read_to_string("../../../lib/version.txt/version.code.txt").await?;
let vs_code_txt = tokio::fs::read_to_string("version.code.txt").await?;

let code = vs_code_txt.trim();

Expand Down
3 changes: 1 addition & 2 deletions ci/src/check_release/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ async fn main() -> Result<()> {
panic!("Can't got repo branch");
}

let vs_code_txt =
tokio::fs::read_to_string("../../../lib/version.txt/version.code.txt").await?;
let vs_code_txt = tokio::fs::read_to_string("version.code.txt").await?;
let vs_info_txt = tokio::fs::read_to_string("version.info.txt").await?;

let code = vs_code_txt.trim();
Expand Down
3 changes: 1 addition & 2 deletions ci/src/upload_asset/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ async fn main() -> Result<()> {

let target = std::env::var("TARGET")?;

let vs_code_txt =
tokio::fs::read_to_string("../../../lib/version.txt/version.code.txt").await?;
let vs_code_txt = tokio::fs::read_to_string("version.code.txt").await?;

let code = vs_code_txt.trim();

Expand Down

0 comments on commit cb21338

Please sign in to comment.