olares release
Synopsis
Build a release version based on a local Olares repository. This command should be run in the root directory of the Olares repository.
bash
olares-cli release [option]
Options
Option | Shorthand | Usage | Required | Default |
---|---|---|---|---|
--base-dir | -b | Sets the base directory for Olares. | No | $HOME/.olares |
--download-cdn-url | Sets the CDN URL used for downloading checksums of dependencies and images. | No | https://dc3p1870nn3cj.cloudfront.net | |
--extract | -e | Extracts the release to the --base-dir after the build. Set to false if only the release file itself is needed. | No | true |
--help | -h | Displays help information. | No | N/A |
--ignore-missing-images | Ignores missing images when downloading checksums from the CDN. Disable this only if no new images are added, as the build may fail if the image is not uploaded to the CDN yet. | No | true | |
--version | -v | Specifies the Olares version. Version values follow the format x.y.z (e.g., 1.10.0 ) or include a build date (e.g., 1.10.0-20241109 ).Refer to the GitHub Releases page for available versions. | No | Current version |