cloudcc-cli 0.8.6 → 0.8.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
@@ -1,3 +1,10 @@
1
+ # ReleaseV0.8.7
2
+ #### 发布日期:2021-11-26
3
+ #### 发布范围:全量
4
+ #### 发布内容
5
+ * 优化
6
+ * 优化打tag顺序
7
+
1
8
  # ReleaseV0.8.6
2
9
  #### 发布日期:2021-11-26
3
10
  #### 发布范围:全量
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
package/utils/pushCode.js CHANGED
@@ -79,14 +79,16 @@ function setTag(types, versions) {
79
79
  }
80
80
  })
81
81
 
82
- // 添加tag
83
- versions.map((version) => {
84
- exec("git tag " + version + " -f")
85
- })
82
+ // 添加tag,必须先设置不带版本号的tag,否则会报错
86
83
  types.map((type) => {
87
84
  exec("git tag " + type + " -f")
88
85
  })
89
86
 
87
+ versions.map((version) => {
88
+ exec("git tag " + version + " -f")
89
+ })
90
+
91
+
90
92
  // 推送tag
91
93
  exec("git push origin --tags")
92
94
  console.log(chalk.green('Tag设置成功!'));