mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 10:49:04 +03:00
Analysis scripts: fix push
I am TIRED of fighting with this scripts and Github actions Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
59751c2fda
commit
2a8123210a
2 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ system ('git add ' + PREVIOUS_FINDBUGS_RESULTS_FILE)
|
|||
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')
|
||||
system ('git push origin HEAD:' + git_branch)
|
||||
|
||||
# restore previous git user name and email
|
||||
system("git config --local user.name '#{previous_git_username}'")
|
||||
|
|
|
@ -187,7 +187,7 @@ system ('git add ' + PREVIOUS_LINT_RESULTS_FILE)
|
|||
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')
|
||||
system ('git push origin HEAD:' + git_branch)
|
||||
|
||||
puts "SUCCESS: count was reduced"
|
||||
exit 0 # success
|
||||
|
|
Loading…
Reference in a new issue