3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 21:16:02 +00:00

Attempt at adding the README to the NuGet package (#7807)

* Attempt at adding README to NuGet package

* Forgot to enable publishing
This commit is contained in:
Solal Pirelli 2025-08-23 20:15:51 +02:00 committed by GitHub
parent 64419ad85b
commit 4792068517
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 8 deletions

View file

@ -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:
<copyright>&#169; Microsoft Corporation. All rights reserved.</copyright>
<tags>smt constraint solver theorem prover</tags>
<icon>content/icon.jpg</icon>
<readme>content/README.md</readme>
<projectUrl>https://github.com/Z3Prover/z3</projectUrl>
<license type="expression">MIT</license>
<repository type="git" url="{1}" branch="{2}" commit="{3}" />

View file

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