2021-12-15 01:12:29 +03:00
|
|
|
trigger: none
|
|
|
|
pr: none
|
|
|
|
|
|
|
|
resources:
|
|
|
|
pipelines:
|
|
|
|
- pipeline: DurablePyCI
|
|
|
|
project: "Azure Functions"
|
|
|
|
source: Azure.azure-functions-durable-python
|
|
|
|
branch: main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: Release
|
|
|
|
pool:
|
2021-12-15 02:28:46 +03:00
|
|
|
name: "1ES-Hosted-AzFunc"
|
2021-12-21 21:22:48 +03:00
|
|
|
demands:
|
|
|
|
- ImageOverride -equals MMSUbuntu20.04TLS
|
2021-12-15 01:12:29 +03:00
|
|
|
steps:
|
|
|
|
- task: UsePythonVersion@0
|
|
|
|
inputs:
|
2022-07-02 00:28:30 +03:00
|
|
|
versionSpec: '3.7'
|
2021-12-15 01:12:29 +03:00
|
|
|
- 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"
|