mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
name the package
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
36ed1ffac2
commit
afbfea8ce6
|
@ -86,10 +86,11 @@ def mk_icon(source_root):
|
||||||
|
|
||||||
|
|
||||||
def create_nuget_spec(version, repo, branch, commit, symbols, arch):
|
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"?>
|
contents = """<?xml version="1.0" encoding="utf-8"?>
|
||||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>Microsoft.Z3</id>
|
<id>Microsoft.Z3{4}</id>
|
||||||
<version>{0}</version>
|
<version>{0}</version>
|
||||||
<authors>Microsoft</authors>
|
<authors>Microsoft</authors>
|
||||||
<description>
|
<description>
|
||||||
|
@ -110,10 +111,9 @@ Linux Dependencies:
|
||||||
<group targetFramework=".netstandard2.0" />
|
<group targetFramework=".netstandard2.0" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>""".format(version, repo, branch, commit)
|
</package>""".format(version, repo, branch, commit, arch)
|
||||||
print(contents)
|
print(contents)
|
||||||
sym = "sym." if symbols else ""
|
sym = "sym." if symbols else ""
|
||||||
arch = f"{arch}." if arch == "x86" else ""
|
|
||||||
file = f"out/Microsoft.Z3.{arch}{sym}nuspec"
|
file = f"out/Microsoft.Z3.{arch}{sym}nuspec"
|
||||||
print(file)
|
print(file)
|
||||||
with open(file, 'w') as f:
|
with open(file, 'w') as f:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
variables:
|
variables:
|
||||||
ReleaseVersion: '4.8.14'
|
ReleaseVersion: '4.8.15'
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: Build
|
- stage: Build
|
||||||
|
@ -285,7 +285,7 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
ConnectedServiceName: 'z3-esrp-signing-2'
|
ConnectedServiceName: 'z3-esrp-signing-2'
|
||||||
FolderPath: $(Build.ArtifactStagingDirectory)
|
FolderPath: $(Build.ArtifactStagingDirectory)
|
||||||
Pattern: Microsoft.Z3.$(ReleaseVersion).nupkg
|
Pattern: Microsoft.Z3.x86.$(ReleaseVersion).nupkg
|
||||||
signConfigType: 'inlineSignParams'
|
signConfigType: 'inlineSignParams'
|
||||||
inlineOperation: |
|
inlineOperation: |
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue