scripts: Have Drone properly signoff commits so that it doesn't break DCO

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Co-Authered-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
Andy Scherzinger 2021-10-22 17:35:38 +02:00
parent b329692868
commit 792ea45bab
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ system ("git remote add origin https://" + git_user + ":" + git_token + "@github
system ('git add ' + PREVIOUS_FINDBUGS_RESULTS_FILE)
# commit changes; Add "skip ci" so that we don't accidentally trigger another Drone build
system ('git commit -sm "Drone: update FindBugs results to reflect reduced error/warning count [skip ci]" ')
system({"GIT_COMMITTER_EMAIL" => "drone@nextcloud.com", "GIT_AUTHOR_EMAIL" => "drone@nextcloud.com"}, 'git commit -sm "Drone: update FindBugs results to reflect reduced error/warning count [skip ci]"')
# push to origin
system ('git push origin HEAD:' + git_branch)

View File

@ -186,7 +186,7 @@ system ("git remote add origin https://" + git_user + ":" + git_token + "@github
system ('git add ' + PREVIOUS_LINT_RESULTS_FILE)
# commit changes; Add "skip ci" so that we don't accidentally trigger another Drone build
system ('git commit -sm "Drone: update Lint results to reflect reduced error/warning count [skip ci]" ')
system({"GIT_COMMITTER_EMAIL" => "drone@nextcloud.com", "GIT_AUTHOR_EMAIL" => "drone@nextcloud.com"}, 'git commit -sm "Drone: update Lint results to reflect reduced error/warning count [skip ci]"')
# push to origin
system ('git push origin HEAD:' + git_branch)