Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannewington committed Mar 18, 2023
1 parent 31b0790 commit 14348dd
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ stages:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifact: 'installer'
publishLocation: 'pipeline'

- template: publish-packages.yml
parameters:
deploymentType: dev
Expand All @@ -326,41 +327,6 @@ stages:
parameters:
deploymentType: preview

- stage:
jobs:
- job:
steps:
- task: GitHubRelease@1
inputs:
gitHubConnection: 'github.com'
repositoryName: 'lithnet/ad-password-protection'
action: 'create'
target: '$(Build.SourceVersion)'
tag: 'v$(build.version)'
title: 'v$(build.version)'
releaseNotesSource: 'inline'
assets: '$(Build.ArtifactStagingDirectory)/installer/*'
isPreRelease: true
addChangeLog: false

- template: publish-packages.yml
parameters:
deploymentType: prod

- stage:
jobs:
- job:
steps:
- task: GitHubRelease@1
inputs:
gitHubConnection: 'github.com'
repositoryName: 'lithnet/ad-password-protection'
action: 'edit'
target: '$(Build.SourceVersion)'
tag: 'v$(build.version)'
title: 'v$(build.version)'
releaseNotesSource: 'inline'
isPreRelease: false
assets: '$(Build.ArtifactStagingDirectory)/installer/*'
assetUploadMode: 'replace'
addChangeLog: false

0 comments on commit 14348dd

Please sign in to comment.