ionic package build
Create a package build on Appflow
This command creates a package build on Appflow. While the build is running, it prints the remote build log to the terminal. If the build is successful, it downloads the created app package file in the current directory.
Apart from --commit, every option can be specified using the full name setup within the Dashboard.
The --signing-certificate option is mandatory for any iOS build but not for Android debug builds.
Customizing the build:
- The
--environmentand--native-configoptions can be used to customize the groups of values exposed to the build. - Override the preferred platform with
--build-stack. This is useful for building older iOS apps.
Deploying the build to an App Store:
- The
--destinationoption can be used to deliver the app created by the build to the configured App Store. This can be used only together with build typereleasefor Android and build typesapp-storeorenterprisefor iOS.
Examples#
Inputs#
platform | |
|---|---|
| Description | The platform to package ( |
type | |
| Description | The build type ( |
Options#
--signing-certificate =<name> | |
|---|---|
| Description | Signing certificate |
--environment =<name> | |
| Description | The group of environment variables exposed to your build |
--native-config =<name> | |
| Description | The group of native config variables exposed to your build |
--destination =<name> | |
| Description | The configuration to deploy the build artifact to the app store |
Advanced Options#
--commit =<sha1> | |
|---|---|
| Description | Commit (defaults to HEAD) |
--build-stack =<name> | |
| Description | Build stack ( |
--build-file-name =<name> | |
| Description | The name for the downloaded build file |