From 4792068517c3f98c0ed01a8badc8ac3b4a4420d8 Mon Sep 17 00:00:00 2001 From: Solal Pirelli Date: Sat, 23 Aug 2025 20:15:51 +0200 Subject: [PATCH] Attempt at adding the README to the NuGet package (#7807) * Attempt at adding README to NuGet package * Forgot to enable publishing --- scripts/mk_nuget_task.py | 3 ++- scripts/release.yml | 14 +++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/scripts/mk_nuget_task.py b/scripts/mk_nuget_task.py index b85ec4c8e..d854adad4 100644 --- a/scripts/mk_nuget_task.py +++ b/scripts/mk_nuget_task.py @@ -103,7 +103,7 @@ def mk_targets(source_root): def mk_icon(source_root): mk_dir("out/content") shutil.copy(f"{source_root}/resources/icon.jpg", "out/content/icon.jpg") -# shutil.copy(f"{source_root}/src/api/dotnet/README.md", "out/content/README.md") + shutil.copy(f"{source_root}/src/api/dotnet/README.md", "out/content/README.md") @@ -124,6 +124,7 @@ Linux Dependencies: © Microsoft Corporation. All rights reserved. smt constraint solver theorem prover content/icon.jpg + content/README.md https://github.com/Z3Prover/z3 MIT diff --git a/scripts/release.yml b/scripts/release.yml index 2a6cd363d..5973c46f5 100644 --- a/scripts/release.yml +++ b/scripts/release.yml @@ -261,9 +261,9 @@ stages: artifact: 'MacArm64' path: $(Agent.TempDirectory)\package - - task: NuGetToolInstaller@0 + - task: NuGetToolInstaller@1 inputs: - versionSpec: 5.x + versionSpec: 6.x checkLatest: false - task: PythonScript@0 displayName: 'Python: assemble files' @@ -305,9 +305,9 @@ stages: inputs: artifact: 'WindowsBuild-x86' path: $(Agent.TempDirectory)\package - - task: NuGetToolInstaller@0 + - task: NuGetToolInstaller@1 inputs: - versionSpec: 5.x + versionSpec: 6.x checkLatest: false - task: PythonScript@0 displayName: 'Python: assemble files' @@ -471,7 +471,7 @@ stages: - job: NuGetPublish - condition: eq(1,0) + condition: eq(1,1) displayName: "Publish to NuGet.org" steps: - task: DownloadPipelineArtifact@2 @@ -479,9 +479,9 @@ stages: inputs: artifact: 'NuGetPackage' path: $(Agent.TempDirectory) - - task: NuGetToolInstaller@0 + - task: NuGetToolInstaller@1 inputs: - versionSpec: 5.x + versionSpec: 6.x checkLatest: false - task: NuGetCommand@2 inputs: