@winner-fed/winner-deploy 3.0.0 → 3.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winner-fed/winner-deploy",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Generate a publication deployed by the See platform",
5
5
  "keywords": [
6
6
  "winner",
@@ -39,6 +39,9 @@ exports.genDockerPackage = function genDockerPackage (seePackageName, options, h
39
39
  fs.ensureDirSync('docker')
40
40
  fs.outputFileSync(path.resolve(process.cwd(), `docker/Dockerfile`), genDockerfile({ name }));
41
41
 
42
+ // 缺少 scripts 目录会导致 SEE 平台上传发布物报错
43
+ fs.ensureDirSync(`${tmp}/scripts`);
44
+
42
45
  // 缺少 template 目录会导致 SEE 平台上传发布物报错
43
46
  fs.ensureDirSync(`${tmp}/template`)
44
47
 
@@ -13,7 +13,6 @@
13
13
  <globalConfig describe="系统全局配置" />
14
14
  <subSystems describe="子系统集合">
15
15
  <system id="${ name }" type="" name="${ name }" mode="cluster" front="">
16
- <scale describe="集群规模" />
17
16
  <variables describe="集群基本参数">
18
17
  <field name="user" label="安装用户" type="input">root</field>
19
18
  <field name="workspace" label="前端安装目录" type="hidden">/html</field>