This command is used to deploy the update to the specified platform.
hot-updater.config.ts
is properly configured.HotUpdater.wrap
.babel-plugin
.If you haven’t completed these steps, refer to the quick-start guide.
Interactive mode guides you through the deployment steps via keyboard inputs.
Execute the following command:
The -i
(or --interactive
) flag enables interactive keyboard input.
Use this mode for automating deployment in CI/CD pipelines.
Run the following command:
Deploy a forced update for emergency purposes. This will immediately apply the update.
Run the following command:
The -f
(or --force-update
) flag enables force update.
The -c
(or --channel
) flag specifies the release channel.
Run the following command:
The -c
(or --channel
) flag specifies the release channel. The default value is production
.
For more details about channels, refer to the Channel Guide.
The -m
(or --message
) flag specifies the message.
Run the following command:
Update Type | When Applied | How to Enable |
---|---|---|
Default | Downloads the update bundle in the background and applies it when the user restarts the app. | Default setting |
Force Update | Downloads the update bundle and applies it immediately. | Use the --force-update flag or console. |