calculator/build/pipelines/azure-pipelines.release.yaml
Pepe Rivera 264b5204d3
Update calculator version to 2004 (#1206)
* Update props file to 2004

* Update build/pipelines/azure-pipelines.release.yaml

Co-authored-by: ItzLevvie <11600822+ItzLevvie@users.noreply.github.com>

Co-authored-by: ItzLevvie <11600822+ItzLevvie@users.noreply.github.com>
2020-04-30 12:09:34 -07:00

54 lines
1.3 KiB
YAML

#
# Release
# This pipeline builds a version of the app in a production configuration to be released to the
# Store and the Windows image. This pipeline relies on Microsoft-internal resources to run.
#
trigger: none
pr: none
variables:
versionMajor: 10
versionMinor: 2004
versionBuild: $[counter('10.2004.*', 0)]
versionPatch: 0
name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)'
jobs:
- template: ./templates/build-app-internal.yaml
parameters:
platform: x64
- template: ./templates/build-app-internal.yaml
parameters:
platform: x86
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
- template: ./templates/build-app-internal.yaml
parameters:
platform: ARM
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
- template: ./templates/run-ui-tests.yaml
parameters:
platform: x64
runsettingsFileName: CalculatorUITests.release.runsettings
- template: ./templates/run-ui-tests.yaml
parameters:
platform: x86
runsettingsFileName: CalculatorUITests.release.runsettings
- template: ./templates/run-unit-tests.yaml
parameters:
platform: x64
- template: ./templates/run-unit-tests.yaml
parameters:
platform: x86
- template: ./templates/package-appxbundle.yaml
- template: ./templates/prepare-release-internalonly.yaml