forked from Azure/azure-functions-durable-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines-release.yml
More file actions
29 lines (27 loc) · 910 Bytes
/
azure-pipelines-release.yml
File metadata and controls
29 lines (27 loc) · 910 Bytes
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
trigger: none
pr: none
resources:
pipelines:
- pipeline: DurablePyCI
project: "Azure Functions"
source: Azure.azure-functions-durable-python
branch: main
jobs:
- job: Release
pool:
name: "1ES-Hosted-AzFunc"
demands:
- ImageOverride -equals MMSUbuntu20.04TLS
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
- download: DurablePyCI
- script: "rm -r ./azure_functions_durable/_manifest"
displayName: 'Remove _manifest folder'
workingDirectory: "$(Pipeline.Workspace)/DurablePyCI"
- script: 'pip install twine'
displayName: "Install twine"
- script: "twine upload azure_functions_durable/*"
displayName: "Publish to PyPI"
workingDirectory: "$(Pipeline.Workspace)/DurablePyCI"