diff options
Diffstat (limited to '')
-rw-r--r-- | azure-pipelines/release.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/azure-pipelines/release.yml b/azure-pipelines/release.yml new file mode 100644 index 0000000..6c12d7d --- /dev/null +++ b/azure-pipelines/release.yml @@ -0,0 +1,36 @@ +trigger: none +pr: none + +variables: + Codeql.Enabled: true + +parameters: + - name: publishPyPI + displayName: 🚀 Publish To PyPI + type: string + values: [Skip, Test, Real] + default: Test + +stages: + - stage: pre_build + displayName: Pre-build validation + jobs: + - template: template/static_analysis.yml + + - stage: build + displayName: Build sdist and wheels + dependsOn: pre_build + variables: + skipComponentGovernanceDetection: true # handled by pre_build + jobs: + - template: template/build_packages.yml + + - stage: publish + displayName: Publish + dependsOn: build + variables: + skipComponentGovernanceDetection: true # handled by pre_build + jobs: + - template: template/publish_pypi.yml + parameters: + publishPyPI: ${{parameters.publishPyPI}} |