calculator/build/pipelines/azure-pipelines.release.yaml
Matt Cooley 251248ee7d
Add release appxmanifest (#1682)
Currently, the copy of Package.appxmanifest in this repo is overwritten with a copy from an internal repo during release builds. This change adds the release version of Package.appxmanifest to this repo, to make it easier to maintain and keep it in sync with the copy used during development.
2021-09-08 08:40:05 -07:00

53 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: 2109
versionBuild: $[counter('10.2109.*', 0)]
versionPatch: 0
name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)'
jobs:
- template: ./templates/build-single-architecture.yaml
parameters:
platform: x64
isReleaseBuild: true
useReleaseAppxmanifest: true
- template: ./templates/build-single-architecture.yaml
parameters:
platform: x86
isReleaseBuild: true
useReleaseAppxmanifest: true
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
- template: ./templates/build-single-architecture.yaml
parameters:
platform: ARM
isReleaseBuild: true
useReleaseAppxmanifest: true
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
parameters:
signBundle: true
createStoreBrokerPackages: true
- template: ./templates/release-store.yaml
- template: ./templates/release-vpack.yaml