cloudcc-cli 1.3.4 → 1.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 +10 -1
- package/package.json +1 -1
- package/src/publishProject.js +7 -1
package/README.md
CHANGED
package/package.json
CHANGED
package/src/publishProject.js
CHANGED
|
@@ -162,10 +162,16 @@ class Publish {
|
|
|
162
162
|
}
|
|
163
163
|
try {
|
|
164
164
|
// 设置readme文件位置
|
|
165
|
-
change("README", outPath,"
|
|
165
|
+
change("README", outPath, "README");
|
|
166
166
|
} catch (error) {
|
|
167
167
|
console.log(chalk.red("README写入异常:" + error))
|
|
168
168
|
}
|
|
169
|
+
try {
|
|
170
|
+
// 7:写入版本信息
|
|
171
|
+
this.writeVersion(version, condition.type);
|
|
172
|
+
} catch (error) {
|
|
173
|
+
console.log(chalk.red("版本信息写入异常:" + error))
|
|
174
|
+
}
|
|
169
175
|
// 8:发布代码并设置tags,触发发布,飞书提醒
|
|
170
176
|
if (pushCodeAndTags(version, [condition.type], this.args.get("update"))) {
|
|
171
177
|
if (projectConfig && projectConfig.config) {
|