cloudcc-cli 1.0.3 → 1.0.4

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
@@ -1,3 +1,17 @@
1
+ # ReleaseV1.0.5
2
+ #### 发布日期:2022-4-1
3
+ #### 发布范围:全量
4
+ #### 发布内容
5
+ * 迭代
6
+ * 增加OT
7
+
8
+ # ReleaseV1.0.4
9
+ #### 发布日期:2022-3-26
10
+ #### 发布范围:全量
11
+ #### 发布内容
12
+ * 迭代
13
+ * 改成change版本逻辑
14
+
1
15
  # ReleaseV1.0.3
2
16
  #### 发布日期:2022-3-25
3
17
  #### 发布范围:全量
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
package/utils/askTool.js CHANGED
@@ -21,6 +21,7 @@ module.exports = {
21
21
  { name: "预生产环境-RC-99", value: "RC-99" },
22
22
  { name: "uat环境-Beta", value: "Beta" },
23
23
  { name: "研发联调环境-Dev", value: "Dev" },
24
+ { name: "海外试用环境-OT", value: "OT" },
24
25
  ],
25
26
  }
26
27
  ];
@@ -5,10 +5,10 @@
5
5
  * @returns 新的版本号
6
6
  */
7
7
  // 需要更新第二位
8
- const updateSecond = ["Release", "Release-99"];
8
+ const updateSecond = ["Release"];
9
9
 
10
10
  // 需要更新第三位
11
- const updateLast = ["Dev", "Beta", "GA", "RC", "RC-99"];
11
+ const updateLast = ["Dev", "Beta", "GA", "RC", "RC-99", "Release-99", "OT"];
12
12
 
13
13
  function change(version, type) {
14
14
  if (version) {