From 045bd2b34f4e88fc95e2a5af99f589544375fa25 Mon Sep 17 00:00:00 2001 From: Rodge Fu Date: Thu, 22 Jun 2023 13:02:19 +0800 Subject: [PATCH] add ShouldPublishSymbols param to pipeline --- eng/pipelines/templates/stages/archetype-sdk-tool-dotnet.yml | 4 ++++ tools/net-changelog-gen-mgmt/ci.yml | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/templates/stages/archetype-sdk-tool-dotnet.yml b/eng/pipelines/templates/stages/archetype-sdk-tool-dotnet.yml index efce55801e5..3e6aab9aa55 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-tool-dotnet.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-tool-dotnet.yml @@ -36,6 +36,9 @@ parameters: - name: ReleaseBinaries type: boolean default: false + - name: ShouldPublishSymbols + type: boolean + default: true variables: - template: ../variables/globals.yml @@ -171,6 +174,7 @@ stages: DevOpsFeedId: '29ec6040-b234-4e31-b139-33dc4287b756/fa8c16a3-dbe0-4de2-a297-03065ec1ba3f' ExeMatrix: ${{ parameters.StandaloneExeMatrix }} ShouldPublishExecutables: ${{ parameters.ReleaseBinaries }} + ShouldPublishSymbols: ${{ parameters.ShouldPublishSymbols }} - ${{if and(not(eq(length(parameters.DockerDeployments), 0)), ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}: - stage: PublishDockerImages diff --git a/tools/net-changelog-gen-mgmt/ci.yml b/tools/net-changelog-gen-mgmt/ci.yml index 0f41f5414f9..e33f1cb1d6a 100644 --- a/tools/net-changelog-gen-mgmt/ci.yml +++ b/tools/net-changelog-gen-mgmt/ci.yml @@ -24,4 +24,5 @@ pr: extends: template: /eng/pipelines/templates/stages/archetype-sdk-tool-dotnet.yml parameters: - ToolDirectory: tools/net-changelog-gen-mgmt \ No newline at end of file + ToolDirectory: tools/net-changelog-gen-mgmt + ShouldPublishSymbols: false \ No newline at end of file