Skip to content

Commit 0db1706

Browse files
committed
Work CD-CI
- Add config to MyGet publish step to continue on error, which can happen if the feed storage limit is exceeded. - Fix search condition to self publish release. ***PUBLISH_RELEASE*** Signed-off-by: José Simões <[email protected]>
1 parent 82f3a8c commit 0db1706

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
# need to flatten message by removing new lines
113113
$commitMessage = $commitMessage -replace "`r`n", " "
114114
115-
if($commitMessage -like "*PUBLISH_RELEASE*")
115+
if($commitMessage -like "***PUBLISH_RELEASE***")
116116
{
117117
# set variable
118118
Write-Host "$("##vso[task.setvariable variable=RELEASE_DRAFT]")false"
@@ -154,6 +154,7 @@ jobs:
154154
packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg'
155155
publishFeedCredentials: 'MyGet'
156156
condition: succeeded()
157+
continueOnError: true
157158
displayName: Push NuGet packages to MyGet
158159

159160
# push NuGet class lib package to NuGet (happens on tag builds for any branch)

0 commit comments

Comments
 (0)