PowerShell/tools/releaseBuild
2021-11-10 13:34:29 -08:00
..
azureDevOps use different containers for different branches (#16434) 2021-11-10 13:34:29 -08:00
Images Add a major-minor build info JSON file (#16301) 2021-10-27 17:14:50 -07:00
macOS Add a major-minor build info JSON file (#16301) 2021-10-27 17:14:50 -07:00
.gitignore Move release build definition into PowerShell (#4884) 2017-09-26 14:02:55 -07:00
build.json Build self-contained minimal size package for Guest Config team (#14976) 2021-03-12 13:25:30 -08:00
createComplianceFolder.ps1 Update copyright notice to latest guidance (#12190) 2020-03-24 11:08:37 -07:00
generatePackgeSigning.ps1 Use authenticode cert for msix signing (#13330) 2020-08-03 19:23:22 -07:00
packagesigning.xml update signing subjects (#5650) 2017-12-07 17:56:37 -08:00
README.md Move Final artifacts from universal build to finalResults folder (#8806) 2019-02-01 10:59:01 -08:00
setReleaseTag.ps1 Make sure daily release tag does not change when retrying failures (#15286) 2021-04-22 16:30:51 -07:00
setReleaseTag.sh add scripts to set/update the release tag in VSTS (#6107) 2018-02-07 15:24:34 -08:00
signing.xml Use Microsoft.PowerShell.MarkdownRender package from nuget.org (#14090) 2020-12-09 12:29:45 -08:00
updateSigning.ps1 Update copyright notice to latest guidance (#12190) 2020-03-24 11:08:37 -07:00
vstsbuild.ps1 Allow patching of preview releases (#15074) 2021-03-23 11:03:05 -07:00
vstsbuild.sh Update install/build scripts and dockerfiles (#5222) 2017-10-25 08:25:35 -07:00

Azure Dev Ops Release Builds

Requirements

Docker must be installed to run any of the release builds.

Running Windows Release Builds Locally

From PowerShell on Windows, run .\vstsbuild.ps1 -ReleaseTag <tag> -Name <buildName>.

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>

Windows Build Names:

  • 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

From PowerShell on Linux or macOS, run .\vstsbuild.ps1 -ReleaseTag <tag> -Name <buildName>.

Linux Build Names:

  • 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