Update nuget icon (#10672)
Update nuget icon from url to local file because the old tag is deprecated.
This commit is contained in:
Родитель
c1cf16ed5d
Коммит
f1b6f0becd
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 338 KiB |
|
@ -49,7 +49,7 @@
|
|||
<PackageProjectUrl>https://github.com/Microsoft/onnxruntime</PackageProjectUrl>
|
||||
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
|
||||
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
|
||||
<PackageIconUrl>https://go.microsoft.com/fwlink/?linkid=2049168</PackageIconUrl>
|
||||
<PackageIcon>ORT_icon_for_light_bg.png</PackageIcon>
|
||||
<PackageReleaseNotes>
|
||||
Release Def:
|
||||
Branch: $(BUILD_SOURCEBRANCH)
|
||||
|
@ -178,7 +178,7 @@
|
|||
CopyToOutputDirectory="PreserveNewest"
|
||||
Visible="false"
|
||||
/>
|
||||
<None Include="$(OnnxRuntimeCsharpRoot)\..\LICENSE.txt;$(OnnxRuntimeCsharpRoot)\..\ThirdPartyNotices.txt;$(OnnxRuntimeCsharpRoot)\..\docs\Privacy.md"
|
||||
<None Include="$(OnnxRuntimeCsharpRoot)\..\LICENSE.txt;$(OnnxRuntimeCsharpRoot)\..\ThirdPartyNotices.txt;$(OnnxRuntimeCsharpRoot)\..\ORT_icon_for_light_bg.png;$(OnnxRuntimeCsharpRoot)\..\docs\Privacy.md"
|
||||
PackagePath="\"
|
||||
Pack="true"
|
||||
Visible="false"
|
||||
|
|
|
@ -151,8 +151,8 @@ def generate_tags(list, tags):
|
|||
list.append('<tags>' + tags + '</tags>')
|
||||
|
||||
|
||||
def generate_icon_url(list, icon_url):
|
||||
list.append('<iconUrl>' + icon_url + '</iconUrl>')
|
||||
def generate_icon(list, icon_file):
|
||||
list.append('<icon>' + icon_file + '</icon>')
|
||||
|
||||
|
||||
def generate_license(list):
|
||||
|
@ -257,7 +257,7 @@ def generate_metadata(list, args):
|
|||
generate_description(metadata_list, args.package_name)
|
||||
generate_copyright(metadata_list, '\xc2\xa9 ' + 'Microsoft Corporation. All rights reserved.')
|
||||
generate_tags(metadata_list, 'ONNX ONNX Runtime Machine Learning')
|
||||
generate_icon_url(metadata_list, 'https://go.microsoft.com/fwlink/?linkid=2049168')
|
||||
generate_icon(metadata_list, 'ORT_icon_for_light_bg.png')
|
||||
generate_license(metadata_list)
|
||||
generate_project_url(metadata_list, 'https://github.com/Microsoft/onnxruntime')
|
||||
generate_repo_url(metadata_list, 'https://github.com/Microsoft/onnxruntime.git', args.commit_id)
|
||||
|
@ -613,6 +613,8 @@ def generate_files(list, args):
|
|||
'" target="ThirdPartyNotices.txt" />')
|
||||
files_list.append('<file src=' + '"' + os.path.join(args.sources_path, 'docs', 'Privacy.md') +
|
||||
'" target="Privacy.md" />')
|
||||
files_list.append('<file src=' + '"' + os.path.join(args.sources_path, 'ORT_icon_for_light_bg.png') +
|
||||
'" target="ORT_icon_for_light_bg.png" />')
|
||||
files_list.append('</files>')
|
||||
|
||||
list += files_list
|
||||
|
|
Загрузка…
Ссылка в новой задаче