About this task
This subcommand releases the specified baselines and transitions them into the published_baseline state. This makes the baseline eligible for selection during an update members operation and indicates that the baseline is suitable for release. Build managers and users in the ccm_admin role can release a baseline.
ccm baseline -rb|-release_baseline [-c|-comment comment]
[-ce|-commentedit] [-cf|-commentfile file_path] baseline_spec...
- baseline_spec...
- Specifies the baseline_name or Query selection set reference form to be used where a baseline name is allowed. For more information, see Baseline specification.
- -c|-comment comment
- Specifies a comment that will be appended on all baseline projects and their members when they are checked in to the released state. The comment can contain more than one line and accepts backslash encoded values.
- You can use this option with -commentedit and -commentfile. If you use the -commentedit option, the comment displays in the default text editor.
- -ce|-commentedit
- Specifies that the default text editor will be invoked to allow the comment to be composed and edited. The result saved from the text editor is used as the final comment. You can use this option with the -comment and -commentfile options.
- -cf|-commentfile file_path
- Specifies that the contents of the specified file will be used for the comment. If you specified -comment, it is appended to that comment. You can use this option with the -commentedit option.
- -rb|-release_baseline
- Releases the baseline that has the baseline_spec you specify. Also checks in all of the projects for a baseline and their members to the released state.