Skip to content

Commit

Permalink
Add azure-pipelines release stage and set checkouts to recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
joeltimothyoh committed Oct 24, 2019
1 parent 3f3c972 commit aad9680
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ resources:
name: theohbrothers/PSModulePublisher
endpoint: theohbrothers
ref: refs/tags/v0.0.3
- repository: PSRepositoryReleaseManager
type: github
name: theohbrothers/PSRepositoryReleaseManager
endpoint: theohbrothers
ref: refs/tags/v0.4.0

stages:
- stage: Build_Test
Expand All @@ -24,15 +29,15 @@ stages:
vmImage: windows-2019
steps:
- checkout: self
submodules: true
submodules: recursive
- template: azure-pipelines/windows/continuous-build.yml@PSModulePublisher
- job: Linux
pool:
vmImage: ubuntu-16.04
container: joeltimothyoh/powershell:6.1.0-ubuntu-18.04-git
steps:
- checkout: self
submodules: true
submodules: recursive
- template: azure-pipelines/linux/continuous-build.yml@PSModulePublisher
- stage: Publish
dependsOn:
Expand All @@ -43,6 +48,20 @@ stages:
vmImage: windows-2019
steps:
- checkout: self
submodules: true
submodules: recursive
- template: azure-pipelines/windows/continuous-build.yml@PSModulePublisher
- template: azure-pipelines/common/run-publish.yml@PSModulePublisher
- stage: release
displayName: Release
dependsOn: publish
jobs:
- job: linux_container
displayName: '[Linux] [Container]'
pool:
vmImage: ubuntu-16.04
container: joeltimothyoh/powershell:6.1.0-ubuntu-18.04-git
steps:
- checkout: self
submodules: recursive
- template: templates/azure-pipelines/entrypoint/generate.yml@PSRepositoryReleaseManager
- template: templates/azure-pipelines/entrypoint/release.yml@PSRepositoryReleaseManager

0 comments on commit aad9680

Please # to comment.