Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
match the agent version to the server
Browse files Browse the repository at this point in the history
  • Loading branch information
chkeita committed May 10, 2023
1 parent 56ca9ed commit 877ef6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/agent/onefuzz-agent/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn print_version(include_sha: bool, include_local: bool, sha: &str) -> Result<()
let mut version = read_file("../../../CURRENT_VERSION")?;

if include_sha {
version.push('-');
version.push('+');
version.push_str(sha);

// if we're a non-release build, check to see if git has
Expand Down
2 changes: 1 addition & 1 deletion src/agent/onefuzz-task/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn print_version(include_sha: bool, include_local: bool, sha: &str) -> Result<()
let mut version = read_file("../../../CURRENT_VERSION")?;

if include_sha {
version.push('-');
version.push('+');
version.push_str(sha);

// if we're a non-release build, check to see if git has
Expand Down
2 changes: 1 addition & 1 deletion src/proxy-manager/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn print_version(include_sha: bool, include_local: bool) -> Result<(), Box<dyn E
let sha = run_cmd(&["git", "rev-parse", "HEAD"])?;

if include_sha {
version.push('-');
version.push('+');
version.push_str(&sha);

// if we're a non-release build, check to see if git has
Expand Down

0 comments on commit 877ef6e

Please sign in to comment.