cloudcc-cli 0.3.5 → 0.3.6

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
@@ -2,6 +2,12 @@
2
2
  * git push origin --tags
3
3
  * 发布包:npm publish --registry http://registry.npmjs.org
4
4
 
5
+ # ReleaseV0.3.6
6
+ #### 发布日期:2021-9-26
7
+ #### 发布范围:全量
8
+ #### 发布内容
9
+ * 功能迭代:更新获取tag信息,先更新本地tag数据
10
+
5
11
  # ReleaseV0.3.5
6
12
  #### 发布日期:2021-9-24
7
13
  #### 发布范围:全量
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudcc-cli",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "cloudcc-cli",
5
5
  "keywords": [
6
6
  "cloudcc",
package/src/publish.js CHANGED
@@ -100,6 +100,8 @@ class Publish {
100
100
  */
101
101
  getTagName(type) {
102
102
  return type.map((item) => {
103
+ // 更新本地tag
104
+ exec("git fetch --tags -f")
103
105
  let version = exec(`git tag --list ${item}-V* --sort -version:refname`)
104
106
  version = version.toString("utf8").trim();
105
107
  if (version) {