mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	add README path to mk_nuget_task
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									1fde3e9fb8
								
							
						
					
					
						commit
						8111d879cd
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -86,6 +86,10 @@ def mk_icon(source_root):
 | 
			
		|||
    mk_dir("out/content")
 | 
			
		||||
    shutil.copy(f"{source_root}/resources/icon.jpg", "out/content/icon.jpg")
 | 
			
		||||
 | 
			
		||||
def mk_readme(source_root):
 | 
			
		||||
    mk_dir("out/content")
 | 
			
		||||
    shutil.copy(f"{source_root}/src/api/dotnet/README.md", "out/content/icon.jpg")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
def create_nuget_spec(version, repo, branch, commit, symbols, arch):
 | 
			
		||||
| 
						 | 
				
			
			@ -105,6 +109,7 @@ Linux Dependencies:
 | 
			
		|||
        <copyright>© 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}" />
 | 
			
		||||
| 
						 | 
				
			
			@ -142,6 +147,7 @@ class Env:
 | 
			
		|||
        unpack(self.packages, self.symbols, self.arch)
 | 
			
		||||
        mk_targets(self.source_root)
 | 
			
		||||
        mk_icon(self.source_root)
 | 
			
		||||
        mk_readme(self.source_root)
 | 
			
		||||
        create_nuget_spec(self.version, self.repo, self.branch, self.commit, self.symbols, self.arch)
 | 
			
		||||
        
 | 
			
		||||
def main():
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -583,7 +583,7 @@ stages:
 | 
			
		|||
 | 
			
		||||
  # Enable on release:
 | 
			
		||||
  - job: PyPIPublish
 | 
			
		||||
    condition: eq(1,1)
 | 
			
		||||
    condition: eq(1,0)
 | 
			
		||||
    displayName: "Publish to PyPI"
 | 
			
		||||
    pool:
 | 
			
		||||
      vmImage: "ubuntu-latest"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue