Skip to content

Commit

Permalink
Update azure-pipelines.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulkareem-siddiq authored Dec 15, 2021
1 parent 149011c commit 153f3f5
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ variables:

steps:
- task: NuGetToolInstaller@1
displayName: 'Use NuGet 5.10.0'
displayName: 'Use NuGet 6.0.0'
inputs:
versionSpec: '5.10.0'
versionSpec: '6.0.0'
checkLatest: true

- task: GitVersion@5
Expand Down Expand Up @@ -89,3 +89,19 @@ steps:
nuGetFeedType: 'external'
publishFeedCredentials: 'sqs-nuget'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))

- task: GitHubRelease@1
inputs:
gitHubConnection: 'github-packages-sqs'
repositoryName: 'SiddiqSoft/WinProcessInfo'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: '$(build.buildNumber)'
title: 'v$(build.buildNumber)'
releaseNotesSource: 'inline'
isPreRelease: true
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))

0 comments on commit 153f3f5

Please sign in to comment.