diff --git a/scripts/analysis/findbugs-results.txt b/scripts/analysis/findbugs-results.txt index b18fcc5ba2..4f17a66e29 100644 --- a/scripts/analysis/findbugs-results.txt +++ b/scripts/analysis/findbugs-results.txt @@ -1 +1 @@ -535 \ No newline at end of file +535 diff --git a/scripts/analysis/findbugs-up.rb b/scripts/analysis/findbugs-up.rb index a7430c300f..f995ada2e7 100644 --- a/scripts/analysis/findbugs-up.rb +++ b/scripts/analysis/findbugs-up.rb @@ -109,7 +109,7 @@ previous_git_email = previous_git_email.strip # update git user name and email for this script system ("git config --local user.name '" + git_user + "'") -system ("git config --local user.email '.'") # set email blank +system ("git config --local user.email 'android@nextcloud.com'") system ("git remote rm origin") system ("git remote add origin https://" + git_user + ":" + git_token + "@github.com/nextcloud/android") @@ -117,7 +117,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 -m "Drone: update FindBugs results to reflect reduced error/warning count [skip ci]" ') +system ('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) diff --git a/scripts/analysis/lint-up.rb b/scripts/analysis/lint-up.rb index 0c4bc81ddc..d87241299f 100644 --- a/scripts/analysis/lint-up.rb +++ b/scripts/analysis/lint-up.rb @@ -178,7 +178,7 @@ previous_git_email = previous_git_email.strip # update git user name and email for this script system ("git config --local user.name '" + git_user + "'") -system ("git config --local user.email '.'") # set email blank +system ("git config --local user.email 'android@nextcloud.com'") system ("git remote rm origin") system ("git remote add origin https://" + git_user + ":" + git_token + "@github.com/nextcloud/android") @@ -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 -m "Drone: update Lint results to reflect reduced error/warning count [skip ci]" ') +system ('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)