cloudcc-cli 1.1.1 → 1.1.2
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 +7 -0
- package/package.json +1 -1
- package/src/publishProject.js +7 -7
package/README.md
CHANGED
package/package.json
CHANGED
package/src/publishProject.js
CHANGED
|
@@ -91,14 +91,14 @@ class Publish {
|
|
|
91
91
|
outPath = projectConfig.config["doc-path"];
|
|
92
92
|
}
|
|
93
93
|
// lightning的Release禁止生成Readme文档
|
|
94
|
-
if (!(Object.is("CloudCC", projectConfig.name) && Object.is("Release", condition.type))) {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
94
|
+
// if (!(Object.is("CloudCC", projectConfig.name) && Object.is("Release", condition.type))) {
|
|
95
|
+
try {
|
|
96
|
+
// 设置readme文件位置
|
|
97
|
+
change("README", outPath);
|
|
98
|
+
} catch (error) {
|
|
99
|
+
console.log(chalk.red("README写入异常:" + error))
|
|
101
100
|
}
|
|
101
|
+
// }
|
|
102
102
|
|
|
103
103
|
try {
|
|
104
104
|
// 7:写入版本信息
|