@coderpp/yunxiao-cli 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -126,6 +126,8 @@ node dist/src/index.js mr release yunxiao-cli release/1.2.3 master --yes
126
126
 
127
127
  这个命令会先按仓库名称查询代码库 ID,再用当前 token 对应的用户作为评审人创建合并请求,随后评审通过并合并。合并时固定保留源分支,不会删除源分支。
128
128
 
129
+ 创建合并请求时会使用云效 `createFrom=WEB`,以保证云效能正确解析源分支提交。
130
+
129
131
  查询变更文件树:
130
132
 
131
133
  ```bash
@@ -42,7 +42,7 @@ export class YunxiaoClient {
42
42
  }
43
43
  createChangeRequest(repositoryId, options) {
44
44
  return this.request("POST", `${this.repositoryPath(repositoryId)}/changeRequests`, undefined, {
45
- createFrom: options.createFrom ?? "COMMAND_LINE",
45
+ createFrom: options.createFrom ?? "WEB",
46
46
  description: options.description,
47
47
  reviewerUserIds: options.reviewerUserIds,
48
48
  sourceBranch: options.sourceBranch,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coderpp/yunxiao-cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "A CLI for Yunxiao Codeup merge request review and merge workflows.",
5
5
  "type": "module",
6
6
  "repository": {