diff options
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/zen/cmds/builds_cmd.cpp | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 93958cacb..8ac185a26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - Improvement: Compress partial file chunks inside blocks if appropriate - Bugfix: If we fail to finalize a build part during `zen builds upload` due to request of upload of pre-existing blobs, fail the upload after retry attempts - Bugfix: Don't display "Validating" progress title during download if validation is disabled +- Bugfix: `zen builds` wildcard options with leading local directory prefixes `./` or `.\` will be trimmed to exclude the local directory prefix ## 5.7.8 - Rollback to 5.7.6 diff --git a/src/zen/cmds/builds_cmd.cpp b/src/zen/cmds/builds_cmd.cpp index 16b623453..14686a173 100644 --- a/src/zen/cmds/builds_cmd.cpp +++ b/src/zen/cmds/builds_cmd.cpp @@ -3174,6 +3174,11 @@ BuildsCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) } } + if (CleanWildcard.starts_with("./") || CleanWildcard.starts_with(".\\")) + { + CleanWildcard = CleanWildcard.substr(2); + } + Wildcards.emplace_back(std::move(CleanWildcard)); } return true; |