-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpublish.yml
41 lines (34 loc) · 995 Bytes
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
trigger:
tags:
include:
- "*"
pool:
vmImage: "ubuntu-latest"
jobs:
- job: "Publish"
pool:
vmImage: "ubuntu-latest"
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "3.x"
- script: |
curl -sSL https://install.python-poetry.org | python3 -
displayName: "Install Poetry"
- script: |
poetry install
displayName: "Install dependencies"
- script: |
poetry build
displayName: "Build"
- task: EsrpRelease@2
inputs:
ConnectedServiceName: "OM-ESRP-Release-Publishing"
Intent: "PackageDistribution"
ContentType: "PyPi"
PackageLocation: "dist"
Owners: "[email protected]"
Approvers: "[email protected]"
ServiceEndpointUrl: "https://api.esrp.microsoft.com"
MainPublisher: "OutlookMobileiOSESRPPublisher"
DomainTenantId: "72f988bf-86f1-41af-91ab-2d7cd011db47"