ait release — 完整参考
创建并查看发布档案,构建并打包原生产物,发布这些产物,并晋级已接纳的发布。
适用人群: 发布工程师
作用边界#
用途: 创建并查看发布档案,构建并打包原生产物,发布这些产物,并晋级已接纳的发布。
影响类别: 发布权威与对外发布的入口;build、publish 和 promote 操作可能产生外部影响。
覆盖: ait release 下共 12 个公开 help surface。
下面的代码块原样保留 1.0.0 二进制的输出,包含它给出的每一个参数、选项、 默认值、可选值、冲突关系和必填要求。
完整命令树#
ait release
ait release candidate
ait release candidate create
ait release check
ait release build
ait release native-source
ait release native-bundle
ait release package
ait release formula
ait release show
ait release publish
ait release promote原样输出的 help#
ait release#
参考描述: 创建并查看发布档案,构建并打包原生产物,发布这些产物,并晋级已接纳的发布。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release <COMMAND>
Commands:
candidate
check
build
native-source
native-bundle
package
formula
show
publish
promote
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print helpait release candidate#
参考描述: 汇总创建 release candidate 权威记录的那些操作。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release candidate <COMMAND>
Commands:
create
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print helpait release candidate create#
参考描述: 为确切的版本、Line、profile 和发布通道创建一个 release candidate。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release candidate create [OPTIONS] --version <VERSION>
Options:
--version <VERSION>
--line <LINE_NAME> [default: main]
--profile <PROFILE>
--channel <CHANNEL> [possible values: rc, stable]
--json
-h, --help Print helpait release check#
参考描述: 校验发布档案、它的组件回执和产物字节,以及所声明的测试证据。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release check [OPTIONS] <RELEASE_ID>
Arguments:
<RELEASE_ID>
Options:
--receipts <DIR>
Verify family component receipts and artifact bytes below DIR
--tests-command <TESTS_COMMAND>
--skip-tests-reason <SKIP_TESTS_REASON>
--json
-h, --help
Print helpait release build#
参考描述: 根据组件回执或确切的原生目标矩阵,为一次发布冻结已接纳的同族产物。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release build [OPTIONS] <RELEASE_ID>
Arguments:
<RELEASE_ID>
Options:
--receipts <DIR> Freeze family artifacts admitted from component receipts below DIR
--native-matrix-dir <DIR> Read target artifacts from DIR/<rust-target-triple>/release using ait-native-source.json descriptors.
--native-command-dir <DIR> Read current-host release command artifacts from this explicit directory.
--json
-h, --help Print helpait release native-source#
参考描述: 为一个原生发布目标记录确切的源、runner、镜像、Rust 工具链和编译器输入。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release native-source [OPTIONS] --target <TARGET> --source-dir <DIR> --runner <RUNNER> --runner-image <RUNNER_IMAGE> --rust-toolchain <RUST_TOOLCHAIN> --rustc-path <PATH> <RELEASE_ID>
Arguments:
<RELEASE_ID>
Options:
--target <TARGET>
--source-dir <DIR>
--runner <RUNNER>
--runner-image <RUNNER_IMAGE>
--rust-toolchain <RUST_TOOLCHAIN>
--rustc-path <PATH>
--json
-h, --help Print helpait release native-bundle#
参考描述: 只从带有所需源描述文件的目标目录构建原生发布包。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release native-bundle [OPTIONS] --native-matrix-dir <DIR> <RELEASE_ID>
Arguments:
<RELEASE_ID>
Options:
--native-matrix-dir <DIR> Build native bundles only from DIR/<rust-target-triple>/release using ait-native-source.json descriptors.
--json
-h, --help Print helpait release package#
参考描述: 为已接纳的发布创建针对特定发布通道的打包产物。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release package [OPTIONS] --channel <CHANNEL> <RELEASE_ID>
Arguments:
<RELEASE_ID>
Options:
--channel <CHANNEL> Assemble one declared channel from an immutable frozen family build [possible values: homebrew, apt, winget, pypi, npm]
--json
-h, --help Print helpait release formula#
参考描述: 从已接纳的发布生成一份具名的打包 formula。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release formula [OPTIONS] --name <NAME> <RELEASE_ID>
Arguments:
<RELEASE_ID>
Options:
--name <NAME>
--python-formula <PYTHON_FORMULA>
Homebrew Python dependency formula written into the generated formula. [default: python@3]
--json
-h, --help
Print helpait release show#
参考描述: 查看发布档案及其记录的接纳状态。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release show [OPTIONS] <RELEASE_ID>
Arguments:
<RELEASE_ID>
Options:
--remote <REMOTE>
--json
-h, --help Print helpait release publish#
参考描述: 通过配置好的发布边界,发布选定的已接纳发布产物。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release publish [OPTIONS] <RELEASE_ID>
Arguments:
<RELEASE_ID>
Options:
--remote <REMOTE>
--json
-h, --help Print helpait release promote#
参考描述: 把已接纳的发布晋级到选定的发布通道。
1.0.0 二进制没有为这个 surface 单独给出描述,上面那句是文档补充的说明。 下面是解析器提供的完整用法和选项,未作改动。
Usage: ait release promote [OPTIONS] --channel <CHANNEL> <RELEASE_ID>
Arguments:
<RELEASE_ID>
Options:
--channel <CHANNEL> [possible values: rc, stable]
--json
-h, --help Print help