add
Description
Add a mobile application binary to the binary store
Syntax
ern binarystore add <descriptor> <pathToBinary>
Arguments
<descriptor>
A complete native application descriptor (ex:
myapp:android:1.0.0
), representing the native application version associated to this binary.
<pathToBinary>
Relative or absolute path to the binary to add to the binary store. For an
Android
binary the path should point to a.apk
file, whereas ofiOS
it should point to a.app
.
Options
--flavor
Custom flavor to attach to this binary.
The binary of a specific application version (for ex
1.0.0
) can have different flavors, representing different build types of the same application version (for exampleDev
/Prod
/QA
...).
Remarks
This command will only work if the following conditions are met:
A binary store server is running
There is an active Cauldron
The active Cauldron contains a proper configuration of the binary store
If a binary already exists in the store for the targeted native application version, it will be replaced.
Related commands
ern binarystore get | Get a native application binary from the binary store ern binarystore remove | Remove a native application binary from the binary store
Last updated