cloudcc-cli 1.0.7 → 1.0.8

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,10 @@
1
+ # ReleaseV1.0.8
2
+ #### 发布日期:2022-4-11
3
+ #### 发布范围:全量
4
+ #### 发布内容
5
+ * 迭代
6
+ * 优化打包tag设置流程
7
+
1
8
  # ReleaseV1.0.7
2
9
  #### 发布日期:2022-4-8
3
10
  #### 发布范围:全量
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
package/utils/askTool.js CHANGED
@@ -28,7 +28,11 @@ module.exports = {
28
28
  let branch = exec('git rev-parse --abbrev-ref HEAD');
29
29
  branch = branch.toString("utf8").trim();
30
30
  choices = projectConfig.config["branch-" + branch]
31
- choices.push({ name: "其他", value: "other" })
31
+ if (choices) {
32
+ choices.push({ name: "其他", value: "other" })
33
+ } {
34
+ choices = projectConfig.config["branch-other"]
35
+ }
32
36
  }
33
37
  const prompt = [{
34
38
  type: 'list',