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

Match the agent version to the server #3093

Merged
merged 2 commits into from
May 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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