Comments the versions, the tags, the packages and the install commands of the project, read from the package.json files (see The Comment of relizy pr-comment). relizy release posts the summary of the release instead. Without pull request, the command warns and posts nothing.
Its option:
--pr-comment-mode <mode>: update the previous comment, append a new one, or recreate it (a new comment, the previous one deleted), over prComment.mode.
--pr-number <number>: the pull request or merge request to comment, when relizy cannot find it (a pull request from a fork, a GitLab merged results pipeline, see Finding the Pull Request);
--dry-run: find the pull request (the API of the provider is called) and show the comment, without posting it;
pr-comment
Post the release comment on the open pull request or merge request of the current branch.
Usage
Comments the versions, the tags, the packages and the install commands of the project, read from the
package.jsonfiles (see The Comment ofrelizy pr-comment).relizy releaseposts the summary of the release instead. Without pull request, the command warns and posts nothing.Its option:
--pr-comment-mode <mode>:updatethe previous comment,appenda new one, orrecreateit (a new comment, the previous one deleted), overprComment.mode.The global options apply:
--pr-number <number>: the pull request or merge request to comment, when relizy cannot find it (a pull request from a fork, a GitLab merged results pipeline, see Finding the Pull Request);--dry-run: find the pull request (the API of the provider is called) and show the comment, without posting it;--config,--log-level.It needs a GitHub or GitLab token: see Tokens.
See Also
prComment()