aether release-react
aether release-react <appName> <platform> [options]Bundles your app with the React Native CLI, compiles to Hermes bytecode when the project uses Hermes, optionally signs the result, and releases it. Run it from the project root.
aether release-react MyApp iosaether release-react MyApp android -d Production -r 25The target binary version is read from Info.plist (iOS) or build.gradle (Android) unless you pass -t.
| Flag | Alias | Default | Purpose |
|---|---|---|---|
--deploymentName |
-d |
Staging |
Deployment to release to. |
--description |
--des |
none | Change description. |
--development |
--dev |
false |
Build a development bundle instead of a release one. |
--disabled |
-x |
false |
Upload without serving the release. |
--mandatory |
-m |
false |
Mark the release mandatory. |
--rollout |
-r |
100% |
Percentage of devices eligible, 1 to 100. |
--targetBinaryVersion |
-t |
from project | Semver version or range to target. |
--entryFile |
-e |
index.<platform>.js, then index.js |
Entry JavaScript file. |
--bundleName |
-b |
main.jsbundle (iOS), index.android.bundle (Android) |
Bundle file name. |
--outputDir |
-o |
temp folder | Keep the bundle and sourcemap here instead of a temp folder. When signing, the folder’s name must be CodePush. |
--sourcemapOutput |
-s |
none | Write a sourcemap to this path. |
--privateKeyPath |
-k |
none | Sign the bundle. Same rules as aether release. |
--noDuplicateReleaseError |
false |
Warn instead of failing on an identical package. | |
--json |
off | Print the released package as JSON on the last stdout line. |
Hermes and platform build flags
Section titled “Hermes and platform build flags”Hermes compilation turns on when the project has Hermes enabled, or with --useHermes / -h. --extraHermesFlags (--hf) passes extra flags through, and the CLI resolves the hermesc compiler from the project’s own node_modules.
The remaining flags point the CLI at non-standard project layouts: --gradleFile (-g) for the Android version lookup, --plistFile (-p) and --plistFilePrefix (--pre) for the iOS one, --podFile (--pod) for the Hermes check, and --xcodeProjectFile (--xp), --xcodeTargetName (--xt), --buildConfigurationName (-c) for iOS projects with custom targets. aether release-react --help lists them all.