cloudcc-cli 0.8.3 → 0.8.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,10 @@
1
+ # ReleaseV0.8.4
2
+ #### 发布日期:2021-11-25
3
+ #### 发布范围:全量
4
+ #### 发布内容
5
+ * 优化
6
+ * 打印version信息
7
+
1
8
  # ReleaseV0.8.3
2
9
  #### 发布日期:2021-11-25
3
10
  #### 发布范围:全量
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
package/utils/pushCode.js CHANGED
@@ -81,10 +81,10 @@ function setTag(types, versions) {
81
81
 
82
82
  // 添加tag
83
83
  versions.map((version) => {
84
- exec("git tag " + version)
84
+ exec("git tag " + version + " -f")
85
85
  })
86
86
  types.map((type) => {
87
- exec("git tag " + type)
87
+ exec("git tag " + type + " -f")
88
88
  })
89
89
 
90
90
  // 推送tag
@@ -124,6 +124,9 @@ function getNewVersionName(types) {
124
124
  */
125
125
  function pushCodeAndTags(types = []) {
126
126
  let versions = getNewVersionName(types);
127
+ console.log();
128
+ console.log(chalk.green('待发布版本:' + versions));
129
+ console.log();
127
130
  return push(versions[0]) && setTag(types, versions)
128
131
  }
129
132
  module.exports = { pushCodeAndTags, push, getNewVersionName, setTag }