Signed-off-by: John Stephens <johnstep@docker.com>
| ... | ... |
@@ -184,7 +184,7 @@ Function Validate-DCO($headCommit, $upstreamCommit) {
|
| 184 | 184 |
$usernameRegex='[a-zA-Z0-9][a-zA-Z0-9-]+' |
| 185 | 185 |
|
| 186 | 186 |
$dcoPrefix="Signed-off-by:" |
| 187 |
- $dcoRegex="^(Docker-DCO-1.1-)?$dcoPrefix ([^<]+) <([^<>@]+@[^<>]+)>( \\(github: ($usernameRegex)\\))?$" |
|
| 187 |
+ $dcoRegex="^(Docker-DCO-1.1-)?$dcoPrefix ([^<]+) <([^<>@]+@[^<>]+)>( \(github: ($usernameRegex)\))?$" |
|
| 188 | 188 |
|
| 189 | 189 |
$counts = Invoke-Expression "git diff --numstat $upstreamCommit...$headCommit" |
| 190 | 190 |
if ($LASTEXITCODE -ne 0) { Throw "Failed git diff --numstat" }
|