Skip to content

Commit d7cc791

Browse files
authored
Added skipPublishDocMs and github io for each artifact (#15119)
1 parent 3bbe65d commit d7cc791

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

eng/pipelines/templates/stages/archetype-net-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ stages:
7878
ReleaseSha: $(Build.SourceVersion)
7979
RepoId: Azure/azure-sdk-for-net
8080

81-
- ${{if ne(artifact.options.skipPublishPackage, 'true')}}:
81+
- ${{if ne(artifact.skipPublishPackage, 'true')}}:
8282
- deployment: PublishPackage
8383
displayName: Publish package to Nuget.org and DevOps Feed
8484
condition: and(succeeded(), ne(variables['Skip.PublishPackage'], 'true'))
@@ -116,7 +116,7 @@ stages:
116116
packagesToPush: '$(Pipeline.Workspace)/staging/**/*.nupkg;!$(Pipeline.Workspace)/staging/**/*.symbols.nupkg'
117117
publishVstsFeed: ${{ parameters.DevOpsFeedID }}
118118

119-
- ${{if ne(artifact.options.skipSymbolsUpload, 'true')}}:
119+
- ${{if ne(artifact.skipSymbolsUpload, 'true')}}:
120120
- deployment: UploadSymbols
121121
displayName: Upload Symbols to Symbols Server
122122
condition: and(succeeded(), ne(variables['Skip.SymbolsUpload'], 'true'))
@@ -147,7 +147,7 @@ stages:
147147
solution: '$(AzureSDKBuildToolsPath)/tools/symboltool/SymbolUploader.proj'
148148
msbuildArguments: '/p:PackagesPath=$(Pipeline.Workspace)/staging /p:MSPublicSymbolsPAT=$(azuresdk-microsoftpublicsymbols-devops-pat) /p:MSSymbolsPAT=$(azuresdk-microsoft-devops-pat) /p:AzureSDKSymbolsPAT=$(azuresdk-azure-sdk-devops-pat)'
149149

150-
- ${{if ne(artifact.options.skipPublishDocs, 'true')}}:
150+
- ${{if ne(artifact.skipPublishDocMs, 'true')}}:
151151
- deployment: PublicDocsMS
152152
displayName: Publish to Docs.MS
153153
condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true'))
@@ -195,7 +195,7 @@ stages:
195195
CIConfigs: $(CIConfigs)
196196
OnboardingBranch: 'onboarding'
197197

198-
- ${{if ne(artifact.options.skipPublishDocs, 'true')}}:
198+
- ${{if ne(artifact.skipPublishDocGithubIo, 'true')}}:
199199
- deployment: PublishDocs
200200
displayName: Publish Docs to GitHub pages
201201
condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true'))
@@ -235,7 +235,7 @@ stages:
235235
# we override the regular script path because we have cloned the build tools repo as a separate artifact.
236236
ScriptPath: 'eng/common/scripts/copy-docs-to-blobstorage.ps1'
237237

238-
- ${{if ne(artifact.options.skipUpdatePackageVersion, 'true')}}:
238+
- ${{if ne(artifact.skipUpdatePackageVersion, 'true')}}:
239239
- deployment: UpdatePackageVersion
240240
displayName: "Update Package Version"
241241
condition: and(succeeded(), ne(variables['Skip.UpdatePackageVersion'], 'true'))

0 commit comments

Comments
 (0)