Update azure-pipelines-release.yml for Azure Pipelines

This commit is contained in:
Pascal Vizeli authored and Pascal Vizeli committed 2019-07-11 09:17:44 +02:00
1 parent 87d3680630
commit 8041339052
1 file changed
+3 -4
+3 -4
View File
@@ -19,7 +19,6 @@ stages:
- stage: 'Validate'
jobs:
- job: 'VersionValidate'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
pool:
vmImage: 'ubuntu-latest'
steps:
@@ -54,7 +53,7 @@ stages:
- stage: 'Build'
jobs:
- job: 'ReleasePython'
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded('VersionValidate'))
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded())
dependsOn:
- 'VersionValidate'
pool:
@@ -75,7 +74,7 @@ stages:
twine upload dist/* --skip-existing
displayName: 'Upload pypi'
- job: 'ReleaseDocker'
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded('VersionValidate'))
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded())
dependsOn:
- 'VersionValidate'
timeoutInMinutes: 240
@@ -127,7 +126,7 @@ stages:
- stage: 'Publish'
jobs:
- job: 'ReleaseHassio'
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded('ReleaseDocker'))
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded())
dependsOn:
- 'ReleaseDocker'
pool: