Skip to content

Commit

Permalink
Merge master release pipeline (#5562)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhe-lz committed May 16, 2023
1 parent 54fb802 commit 1037f58
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions pipelines/release.yml
Expand Up @@ -7,13 +7,12 @@ pr: none
jobs:
- job: validate_version_number
pool:
vmImage: Ubuntu 18.04
vmImage: ubuntu-latest

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: 3.8
displayName: Configure Python version
- template: templates/config-version.yml
parameters:
platform: ubuntu-latest

- script: |
echo $(build_type)
Expand Down Expand Up @@ -46,13 +45,12 @@ jobs:
dependsOn: validate_version_number
condition: succeeded()
pool:
vmImage: Ubuntu 18.04
vmImage: ubuntu-latest

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: 3.8
displayName: Configure Python version
- template: templates/config-version.yml
parameters:
platform: ubuntu-latest

- script: |
python -m pip install --upgrade pip setuptools wheel twine
Expand Down Expand Up @@ -92,13 +90,12 @@ jobs:
dependsOn: validate_version_number
condition: succeeded()
pool:
vmImage: macOS-10.15
vmImage: macOS-latest

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: 3.8
displayName: Configure Python version
- template: templates/config-version.yml
parameters:
platform: macOS-latest

- script: |
python -m pip install --upgrade pip setuptools wheel twine
Expand All @@ -120,13 +117,12 @@ jobs:
dependsOn: validate_version_number
condition: succeeded()
pool:
vmImage: windows-2019
vmImage: windows-latest

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: 3.8
displayName: Configure Python version
- template: templates/config-version.yml
parameters:
platform: windows-latest

- powershell: |
python -m pip install --upgrade pip setuptools wheel twine
Expand Down

0 comments on commit 1037f58

Please sign in to comment.