mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 03:35:46 +00:00
[ci] tmp: debug license-header
Signed-off-by: crueter <swurl@swurl.xyz>
This commit is contained in:
parent
f3e00b633e
commit
ef2d0a9076
1 changed files with 7 additions and 0 deletions
|
@ -7,9 +7,16 @@ license_header = <<~EOF
|
|||
EOF
|
||||
|
||||
print 'Getting branch changes...'
|
||||
puts "\n"
|
||||
branch_name = `git rev-parse --abbrev-ref HEAD`.chomp
|
||||
print branch_name
|
||||
puts "\n"
|
||||
branch_commits = `git log #{branch_name} --not master --pretty=format:"%h"`.split("\n")
|
||||
print branch_commits
|
||||
puts "\n"
|
||||
branch_commit_range = "#{branch_commits[-1]}^..#{branch_commits[0]}"
|
||||
print branch_commit_range
|
||||
puts "\n"
|
||||
branch_changed_files = `git diff-tree --no-commit-id --name-only #{branch_commit_range} -r`.split("\n")
|
||||
puts 'done'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue