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 +6 -0
- package/package.json +1 -1
- package/src/publish.js +2 -0
package/README.md
CHANGED
package/package.json
CHANGED
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) {
|