From 9d83f2c7bdfe09fe618d4d21d10b49a4b7506324 Mon Sep 17 00:00:00 2001 From: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Date: Tue, 15 Sep 2020 13:31:00 -0700 Subject: [PATCH] Allow skip publish DocMS or Github IO for each artifact (#648) --- eng/pipelines/templates/stages/archetype-cpp-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/templates/stages/archetype-cpp-release.yml b/eng/pipelines/templates/stages/archetype-cpp-release.yml index bd29b97bd..9b2177679 100644 --- a/eng/pipelines/templates/stages/archetype-cpp-release.yml +++ b/eng/pipelines/templates/stages/archetype-cpp-release.yml @@ -42,7 +42,7 @@ stages: ReleaseSha: $(Build.SourceVersion) RepoId: Azure/azure-sdk-for-cpp - - ${{if ne(artifact.options.skipPublishDocs, 'true')}}: + - ${{if ne(artifact.skipPublishDocGithubIo, 'true')}}: - deployment: PublishDocs displayName: Publish Docs to GitHub pages condition: ne(variables['Skip.PublishDocs'], 'true') @@ -69,7 +69,7 @@ stages: # we override the regular script path because we have cloned the build tools repo as a separate artifact. ScriptPath: '$(Build.SourcesDirectory)/eng/common/scripts/copy-docs-to-blobstorage.ps1' - - ${{if ne(artifact.options.skipUpdatePackageVersion, 'true')}}: + - ${{if ne(artifact.skipUpdatePackageVersion, 'true')}}: - deployment: UpdatePackageVersion displayName: "Update Package Version" condition: and(succeeded(), ne(variables['Skip.UpdatePackageVersion'], 'true'))