2019-01-29 08:24:37 +08:00
|
|
|
#
|
|
|
|
# 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:
|
2021-09-26 13:02:43 +08:00
|
|
|
versionMajor: 11
|
2021-10-31 23:40:36 +08:00
|
|
|
versionMinor: 2111
|
|
|
|
versionBuild: $[counter('11.2111.*', 0)]
|
2019-01-29 08:24:37 +08:00
|
|
|
versionPatch: 0
|
|
|
|
|
|
|
|
name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)'
|
|
|
|
|
|
|
|
jobs:
|
2021-08-26 23:47:10 +08:00
|
|
|
- template: ./templates/build-single-architecture.yaml
|
2019-01-29 08:24:37 +08:00
|
|
|
parameters:
|
|
|
|
platform: x64
|
2021-08-26 23:47:10 +08:00
|
|
|
isReleaseBuild: true
|
2021-09-08 23:40:05 +08:00
|
|
|
useReleaseAppxmanifest: true
|
2019-01-29 08:24:37 +08:00
|
|
|
|
2021-08-26 23:47:10 +08:00
|
|
|
- template: ./templates/build-single-architecture.yaml
|
2019-01-29 08:24:37 +08:00
|
|
|
parameters:
|
|
|
|
platform: x86
|
2021-08-26 23:47:10 +08:00
|
|
|
isReleaseBuild: true
|
2021-09-08 23:40:05 +08:00
|
|
|
useReleaseAppxmanifest: true
|
2019-01-29 08:24:37 +08:00
|
|
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
|
|
|
|
2021-08-26 23:47:10 +08:00
|
|
|
- template: ./templates/build-single-architecture.yaml
|
2019-01-29 08:24:37 +08:00
|
|
|
parameters:
|
|
|
|
platform: ARM
|
2021-08-26 23:47:10 +08:00
|
|
|
isReleaseBuild: true
|
2021-09-08 23:40:05 +08:00
|
|
|
useReleaseAppxmanifest: true
|
2019-01-29 08:24:37 +08:00
|
|
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
|
|
|
|
|
|
|
- template: ./templates/run-unit-tests.yaml
|
|
|
|
parameters:
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
- template: ./templates/run-unit-tests.yaml
|
|
|
|
parameters:
|
|
|
|
platform: x86
|
|
|
|
|
|
|
|
- template: ./templates/package-appxbundle.yaml
|
2020-07-31 23:09:44 +08:00
|
|
|
parameters:
|
|
|
|
signBundle: true
|
2021-08-26 23:47:10 +08:00
|
|
|
createStoreBrokerPackages: true
|
2019-01-29 08:24:37 +08:00
|
|
|
|
2021-08-26 23:47:10 +08:00
|
|
|
- template: ./templates/release-store.yaml
|
|
|
|
- template: ./templates/release-vpack.yaml
|