mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-11 04:38:24 -06:00
build: pass branding into the nuget variable template (#16122)
This fixes a cosmetic issue with the version number in the unpackaged builds and NuGet packages. They were showing up as `-preview`, even when they were stable, because the variable template didn't know about the branding.
This commit is contained in:
parent
0144cdd7bc
commit
544cdd78af
@ -18,6 +18,8 @@ name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
- template: templates-v2/variables-nuget-package-version.yml
|
- template: templates-v2/variables-nuget-package-version.yml
|
||||||
|
parameters:
|
||||||
|
branding: Canary
|
||||||
- template: templates-v2/variables-onebranch-config.yml
|
- template: templates-v2/variables-onebranch-config.yml
|
||||||
|
|
||||||
extends:
|
extends:
|
||||||
|
|||||||
@ -62,6 +62,8 @@ name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
- template: templates-v2/variables-nuget-package-version.yml
|
- template: templates-v2/variables-nuget-package-version.yml
|
||||||
|
parameters:
|
||||||
|
branding: ${{ parameters.branding }}
|
||||||
- template: templates-v2/variables-onebranch-config.yml
|
- template: templates-v2/variables-onebranch-config.yml
|
||||||
|
|
||||||
extends:
|
extends:
|
||||||
|
|||||||
@ -62,6 +62,8 @@ parameters:
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
- template: variables-nuget-package-version.yml
|
- template: variables-nuget-package-version.yml
|
||||||
|
parameters:
|
||||||
|
branding: ${{ parameters.branding }}
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
repositories:
|
repositories:
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
parameters:
|
||||||
|
- name: branding
|
||||||
|
type: string
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
# If we are building a branch called "release-*", change the NuGet suffix
|
# 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"
|
# to "preview". If we don't do that, XES will set the suffix to "release1"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user