Skip to content

Commit 935af10

Browse files
authored
Move Github Release task to last item in CLI publish (#596)
* 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. * Update Changelog.md
1 parent bd092d9 commit 935af10

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.0.27] - 2023-12-12
8+
### Pipelines
9+
Move GitHub Release task to last task in publish pipeline.
10+
711
## [1.0.26] - 2023-12-05
812
### Dependencies
913
Update dependencies.

Pipelines/cli/devskim-cli-release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -481,21 +481,6 @@ stages:
481481
inputs:
482482
targetPath: '$(Build.StagingDirectory)'
483483
artifact: 'Signed_Binaries'
484-
- task: GitHubRelease@1
485-
displayName: Release to GitHub
486-
inputs:
487-
gitHubConnection: 'DevSkim'
488-
repositoryName: 'microsoft/DevSkim'
489-
action: 'create'
490-
target: '$(Build.SourceVersion)'
491-
tagSource: 'userSpecifiedTag'
492-
tag: 'v$(ReleaseVersion)'
493-
title: 'DevSkim CLI v$(ReleaseVersion)'
494-
assets: |
495-
$(Build.StagingDirectory)/*.zip
496-
$(Build.StagingDirectory)/HASHES.txt
497-
changeLogCompareToRelease: 'lastNonDraftRelease'
498-
changeLogType: 'commitBased'
499484
- task: NuGetCommand@2
500485
displayName: Publish NuGet Packages
501486
inputs:
@@ -551,3 +536,18 @@ stages:
551536
inputs:
552537
PathtoPublish: '$(Build.StagingDirectory)/Manifests'
553538
ArtifactName: 'Release Manifests'
539+
- task: GitHubRelease@1
540+
displayName: Release to GitHub
541+
inputs:
542+
gitHubConnection: 'DevSkim'
543+
repositoryName: 'microsoft/DevSkim'
544+
action: 'create'
545+
target: '$(Build.SourceVersion)'
546+
tagSource: 'userSpecifiedTag'
547+
tag: 'v$(ReleaseVersion)'
548+
title: 'DevSkim CLI v$(ReleaseVersion)'
549+
assets: |
550+
$(Build.StagingDirectory)/*.zip
551+
$(Build.StagingDirectory)/HASHES.txt
552+
changeLogCompareToRelease: 'lastNonDraftRelease'
553+
changeLogType: 'commitBased'

0 commit comments

Comments
 (0)