Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Github Release task to last item in CLI publish #596

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Move Github Release task to last item in CLI publish
Have been having issues with the github release task failing. It should run after the nuget release task to avoid missing publication to nuget.
  • Loading branch information
gfs committed Dec 12, 2023
commit 6b16779db09e96f910405fa41b61bb8fae42f114
30 changes: 15 additions & 15 deletions Pipelines/cli/devskim-cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -481,21 +481,6 @@ stages:
inputs:
targetPath: '$(Build.StagingDirectory)'
artifact: 'Signed_Binaries'
- task: GitHubRelease@1
displayName: Release to GitHub
inputs:
gitHubConnection: 'DevSkim'
repositoryName: 'microsoft/DevSkim'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: 'v$(ReleaseVersion)'
title: 'DevSkim CLI v$(ReleaseVersion)'
assets: |
$(Build.StagingDirectory)/*.zip
$(Build.StagingDirectory)/HASHES.txt
changeLogCompareToRelease: 'lastNonDraftRelease'
changeLogType: 'commitBased'
- task: NuGetCommand@2
displayName: Publish NuGet Packages
inputs:
Expand Down Expand Up @@ -551,3 +536,18 @@ stages:
inputs:
PathtoPublish: '$(Build.StagingDirectory)/Manifests'
ArtifactName: 'Release Manifests'
- task: GitHubRelease@1
displayName: Release to GitHub
inputs:
gitHubConnection: 'DevSkim'
repositoryName: 'microsoft/DevSkim'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: 'v$(ReleaseVersion)'
title: 'DevSkim CLI v$(ReleaseVersion)'
assets: |
$(Build.StagingDirectory)/*.zip
$(Build.StagingDirectory)/HASHES.txt
changeLogCompareToRelease: 'lastNonDraftRelease'
changeLogType: 'commitBased'
Loading