3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

name the package

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-01-08 15:52:50 -08:00
parent 36ed1ffac2
commit afbfea8ce6
2 changed files with 5 additions and 5 deletions

View file

@ -86,10 +86,11 @@ def mk_icon(source_root):
def create_nuget_spec(version, repo, branch, commit, symbols, arch):
arch = f"{arch}." if arch == "x86" else ""
contents = """<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Microsoft.Z3</id>
<id>Microsoft.Z3{4}</id>
<version>{0}</version>
<authors>Microsoft</authors>
<description>
@ -110,10 +111,9 @@ Linux Dependencies:
<group targetFramework=".netstandard2.0" />
</dependencies>
</metadata>
</package>""".format(version, repo, branch, commit)
</package>""".format(version, repo, branch, commit, arch)
print(contents)
sym = "sym." if symbols else ""
arch = f"{arch}." if arch == "x86" else ""
file = f"out/Microsoft.Z3.{arch}{sym}nuspec"
print(file)
with open(file, 'w') as f:

View file

@ -1,5 +1,5 @@
variables:
ReleaseVersion: '4.8.14'
ReleaseVersion: '4.8.15'
stages:
- stage: Build
@ -285,7 +285,7 @@ stages:
inputs:
ConnectedServiceName: 'z3-esrp-signing-2'
FolderPath: $(Build.ArtifactStagingDirectory)
Pattern: Microsoft.Z3.$(ReleaseVersion).nupkg
Pattern: Microsoft.Z3.x86.$(ReleaseVersion).nupkg
signConfigType: 'inlineSignParams'
inlineOperation: |
[