From 8d2f85f0a7039a0b0defd6c7509cb905914a4d2f Mon Sep 17 00:00:00 2001 From: xiaowuhu Date: Tue, 22 Aug 2023 12:06:15 +0800 Subject: [PATCH] Update manually-publish.yml for Azure Pipelines (#263) * Update manually-publish.yml for Azure Pipelines * Update manually-publish.yml for Azure Pipelines * Update manually-publish.yml for Azure Pipelines * add tar.gz into package * add trigger : none --- manually-publish.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 manually-publish.yml diff --git a/manually-publish.yml b/manually-publish.yml new file mode 100644 index 0000000..2201ae9 --- /dev/null +++ b/manually-publish.yml @@ -0,0 +1,32 @@ +trigger: none + +steps: + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.11' + displayName: 'Set Up Python' + - script: python -m pip install --upgrade pip build wheel + displayName: 'Install Python build dependencies' + - script: python -m build + displayName: 'Build wheel' + - task: CopyFiles@2 + displayName: 'Copy Python Wheel to: $(Build.ArtifactStagingDirectory)' + inputs: + SourceFolder: 'dist' + Contents: '*.*' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + - task: PublishBuildArtifacts@1 + displayName: 'Publish converter-common' + inputs: + ArtifactName: onnxconverter_common + - task: EsrpRelease@3 + inputs: + ConnectedServiceName: 'esrprelease' + Intent: 'PackageDistribution' + ContentType: 'PyPi' + PackageLocation: '$(Build.ArtifactStagingDirectory)' + Owners: 'xiaowuhu@microsoft.com' + Approvers: 'xiaowuhu@microsoft.com' + ServiceEndpointUrl: 'https://api.esrp.microsoft.com' + MainPublisher: 'AIFrameworks' + DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'