File tree Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,15 @@ stages:
5555 vmImage : windows-2019
5656 steps :
5757 - template : build/stages/publish.yml
58+
59+ - stage : Release
60+ dependsOn :
61+ - Docker
62+ - Publish
63+ condition : succeeded()
64+ jobs :
65+ - job : Release
66+ pool :
67+ vmImage : windows-2019
68+ steps :
69+ - template : build/stages/release.yml
Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ Task("Pack")
145145} ) ;
146146
147147Task( "Publish" )
148- . IsDependentOn ( "Release-Notes" )
149148 . IsDependentOn ( "Publish-AppVeyor" )
150149 . IsDependentOn ( "Publish-AzurePipeline" )
151150 . IsDependentOn ( "Publish-Coverage" )
@@ -171,9 +170,16 @@ Task("Publish-DockerHub")
171170 }
172171} ) ;
173172
173+ Task( "Release" )
174+ . IsDependentOn ( "Release-Notes" )
175+ . Finally ( ( ) =>
176+ {
177+ } ) ;
178+
174179Task( "Default" )
175180 . IsDependentOn ( "Publish" )
176- . IsDependentOn ( "Publish-DockerHub" ) ;
181+ . IsDependentOn ( "Publish-DockerHub" )
182+ . IsDependentOn ( "Release" ) ;
177183
178184//////////////////////////////////////////////////////////////////////
179185// EXECUTION
Original file line number Diff line number Diff line change 1+ steps :
2+ - template : common-steps.yml
3+ - task : DownloadPipelineArtifact@2
4+ displayName : ' Download pipeline artifacts'
5+ inputs :
6+ source : current
7+ path : $(Build.SourcesDirectory)
8+ artifact : artifacts
9+ - script : dotnet cake build.cake --bootstrap && dotnet cake build.cake --target=Release
10+ displayName : ' Release'
You can’t perform that action at this time.
0 commit comments