2019-02-01 19:59:01 +01:00
# Azure Dev Ops Release Builds
2017-10-12 23:48:53 +02:00
## Requirements
Docker must be installed to run any of the release builds.
2019-02-01 19:59:01 +01:00
## Running Windows Release Builds Locally
2017-10-12 23:48:53 +02:00
From PowerShell on Windows, run `.\vstsbuild.ps1 -ReleaseTag <tag> -Name <buildName>` .
2019-02-01 19:59:01 +01:00
For the package builds, run `.\vstsbuild.ps1 -ReleaseTag <tag> -Name <buildName> -BuildPath <path to extracted zip from build step> -SignedFilesPath <path to extracted 'symbol' zip from build step>`
2017-10-12 23:48:53 +02:00
2019-02-01 19:59:01 +01:00
Windows Build Names:
2017-10-12 23:48:53 +02:00
2019-02-01 19:59:01 +01:00
* `win7-x64-symbols`
* Builds the Windows x64 Zip with symbols
* `win7-x86-symbols`
* Builds the Windows x86 Zip with symbols
* `win7-arm-symbols`
* Builds the Windows ARM Zip with symbols
* `win7-arm64-symbols`
* Builds the Windows ARM64 Zip with symbols
* `win7-fxdependent-symbols`
* Builds the Windows FxDependent Zip with symbols
* `win7-x64-package`
* Builds the Windows x64 packages
* `win7-x86-package`
* Builds the Windows x86 packages
* `win7-arm-package`
* Builds the Windows ARM packages
* `win7-arm64-package`
* Builds the Windows ARM64 packages
* `win7-fxdependent-package`
* Builds the Windows FxDependent packages
## Running Linux Release Builds Locally
2017-10-12 23:48:53 +02:00
From PowerShell on Linux or macOS, run `.\vstsbuild.ps1 -ReleaseTag <tag> -Name <buildName>` .
Linux Build Names:
2019-02-01 19:59:01 +01:00
* `deb`
* Builds the Debian Packages, ARM32 and ARM64.
* `alpine`
* Builds the Alpine Package
* `rpm`
* Builds the RedHat variant Package
## Azure Dev Ops Build
The release build is fairly complicated. The definition is at `./azureDevOps/releaseBuild.yml` .
Here is a diagram of the build:
[![Release Build diagram ](https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/releaseBuild/azureDevOps/diagram.svg?sanitize=true )](https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/releaseBuild/azureDevOps/diagram.svg?sanitize=true)