| 1 |
# publish |
| 2 |
|
| 3 |
Uploads your application to a [publication channel][publication-channel-interface]. By default, targets the current platform's default output format. |
| 4 |
|
| 5 |
You may need to provide additional configuration details (e.g., authentication credentials), depending on the publication channel selected. |
| 6 |
|
| 7 |
## Usage |
| 8 |
|
| 9 |
To publish the application artefacts for the current platform's default output format to the default publication channel: |
| 10 |
|
| 11 |
```console |
| 12 |
$ briefcase publish |
| 13 |
``` |
| 14 |
|
| 15 |
To publish the application artefacts for a different platform: |
| 16 |
|
| 17 |
```console |
| 18 |
$ briefcase publish <platform> |
| 19 |
``` |
| 20 |
|
| 21 |
To publish the application artefacts for a specific output format: |
| 22 |
|
| 23 |
```console |
| 24 |
$ briefcase publish <platform> <output format> |
| 25 |
``` |
| 26 |
|
| 27 |
## Options |
| 28 |
|
| 29 |
The following options can be provided at the command line. |
| 30 |
|
| 31 |
### `-a <app name>` / `--app <app name>` |
| 32 |
|
| 33 |
Publish a specific application target in your project. This argument is only required if your project contains more than one application target. The app name specified should be the machine-readable package name for the app. |
| 34 |
|
| 35 |
### `-u` / `--update` |
| 36 |
|
| 37 |
Update and recompile the application's code before publication. Equivalent to running: |
| 38 |
|
| 39 |
```console |
| 40 |
$ briefcase update |
| 41 |
$ briefcase package |
| 42 |
$ briefcase publish |
| 43 |
``` |
| 44 |
|
| 45 |
### `-p <format>`, `--packaging-format <format>` |
| 46 |
|
| 47 |
The format to use for packaging. The available packaging formats are platform dependent. |
| 48 |
|
| 49 |
### `-c <channel>` / `--channel <channel>` |
| 50 |
|
| 51 |
Nominate a [publication channel][publication-channel-interface] to use. |
| 52 |
|
| 53 |
--8<-- "_snippets/available-channels.md" |
| 54 |
|
| 55 |
## Platform guides |
| 56 |
|
| 57 |
For platform-specific publishing workflows, see the how-to guides for [Android](../../how-to/publishing/android.md), [iOS](../../how-to/publishing/iOS.md), and [macOS](../../how-to/publishing/macOS.md). |