[ci] tmp: debug license-header
Some checks failed
eden-build / source (push) Successful in 3m45s
eden-build / windows (msvc) (push) Has been cancelled
eden-build / linux (push) Has been cancelled
eden-build / android (push) Has been cancelled

Signed-off-by: crueter <swurl@swurl.xyz>
This commit is contained in:
crueter 2025-06-15 04:58:00 -04:00
parent f3e00b633e
commit ef2d0a9076
No known key found for this signature in database
GPG key ID: A5A7629F109C8FD1

View file

@ -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'