Add README to Nuget and fix license file name (#17170)

### Description
Add README to Nuget and fix license file name

### Motivation and Context
Fixes https://github.com/microsoft/onnxruntime/issues/17055
This commit is contained in:
Pranav Sharma 2023-08-15 16:04:34 -07:00 committed by GitHub
parent 39dfcd5d84
commit c0f8197157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1097,8 +1097,11 @@ def generate_files(line_list, args):
"<file src=" + '"' + net6_android_target_targets + '" target="buildTransitive\\net6.0-android31.0" />'
)
# README
files_list.append("<file src=" + '"' + os.path.join(args.sources_path, "README.md") + '" target="README.md" />')
# Process License, ThirdPartyNotices, Privacy
files_list.append("<file src=" + '"' + os.path.join(args.sources_path, "LICENSE.txt") + '" target="LICENSE.txt" />')
files_list.append("<file src=" + '"' + os.path.join(args.sources_path, "LICENSE") + '" target="LICENSE" />')
files_list.append(
"<file src="
+ '"'