diff --git a/build/pipelines/ob-nightly.yml b/build/pipelines/ob-nightly.yml index c8c62e278f0..b38010b084c 100644 --- a/build/pipelines/ob-nightly.yml +++ b/build/pipelines/ob-nightly.yml @@ -18,6 +18,8 @@ name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) variables: - template: templates-v2/variables-nuget-package-version.yml + parameters: + branding: Canary - template: templates-v2/variables-onebranch-config.yml extends: diff --git a/build/pipelines/ob-release.yml b/build/pipelines/ob-release.yml index 9c81f570666..ca168e6d337 100644 --- a/build/pipelines/ob-release.yml +++ b/build/pipelines/ob-release.yml @@ -62,6 +62,8 @@ name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) variables: - template: templates-v2/variables-nuget-package-version.yml + parameters: + branding: ${{ parameters.branding }} - template: templates-v2/variables-onebranch-config.yml extends: diff --git a/build/pipelines/templates-v2/pipeline-full-release-build.yml b/build/pipelines/templates-v2/pipeline-full-release-build.yml index 0027445b2a8..61509b6fc21 100644 --- a/build/pipelines/templates-v2/pipeline-full-release-build.yml +++ b/build/pipelines/templates-v2/pipeline-full-release-build.yml @@ -59,6 +59,8 @@ parameters: variables: - template: variables-nuget-package-version.yml + parameters: + branding: ${{ parameters.branding }} resources: repositories: diff --git a/build/pipelines/templates-v2/variables-nuget-package-version.yml b/build/pipelines/templates-v2/variables-nuget-package-version.yml index af195c043f6..d3a137ba0e0 100644 --- a/build/pipelines/templates-v2/variables-nuget-package-version.yml +++ b/build/pipelines/templates-v2/variables-nuget-package-version.yml @@ -1,3 +1,7 @@ +parameters: + - name: branding + type: string + variables: # If we are building a branch called "release-*", change the NuGet suffix # to "preview". If we don't do that, XES will set the suffix to "release1"