Fix incorrect committer email [CI SKIP]

This commit is contained in:
Brad Rydzewski 2019-04-18 16:59:02 -07:00 committed by GitHub
parent a2c9b60089
commit dddd99c40a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,10 +35,10 @@ if ($Env:DRONE_COMMIT_AUTHOR_NAME -eq '' -or $Env:DRONE_COMMIT_AUTHOR_NAME -eq $
$Env:GIT_AUTHOR_NAME = "drone" $Env:GIT_AUTHOR_NAME = "drone"
} }
if ($Env:DRONE_COMMIT_AUTHOR_NAME -eq '' -or $Env:DRONE_COMMIT_AUTHOR_NAME -eq $null) { if ($Env:DRONE_COMMIT_AUTHOR_EMAIL -eq '' -or $Env:DRONE_COMMIT_AUTHOR_EMAIL -eq $null) {
$Env:GIT_AUTHOR_NAME = $Env:DRONE_COMMIT_AUTHOR_NAME $Env:GIT_AUTHOR_EMAIL = $Env:DRONE_COMMIT_AUTHOR_EMAIL
} else { } else {
$Env:GIT_AUTHOR_NAME = 'drone@localhost' $Env:GIT_AUTHOR_EMAIL = 'drone@localhost'
} }
$Env:GIT_COMMITTER_NAME = $Env:GIT_AUTHOR_NAME $Env:GIT_COMMITTER_NAME = $Env:GIT_AUTHOR_NAME