@pisell/common 0.0.46 → 0.0.47
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.
|
@@ -113,6 +113,7 @@ var UploadCode = /*#__PURE__*/function () {
|
|
|
113
113
|
if (this.env === 'prod' || this.env === 'pre') {
|
|
114
114
|
serverConfig = serverConfigMap.aws.service[this.env];
|
|
115
115
|
serverConfig.privateKey = fs.readFileSync(serverConfig.privateKey);
|
|
116
|
+
this.setConfig(serverConfig);
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
// 选择release默认用国内cn服务器
|
|
@@ -87,6 +87,7 @@ var UploadCode = class {
|
|
|
87
87
|
if (this.env === "prod" || this.env === "pre") {
|
|
88
88
|
serverConfig = serverConfigMap.aws.service[this.env];
|
|
89
89
|
serverConfig.privateKey = fs.readFileSync(serverConfig.privateKey);
|
|
90
|
+
this.setConfig(serverConfig);
|
|
90
91
|
}
|
|
91
92
|
if (this.env === "release") {
|
|
92
93
|
serverConfig = this.setConfig(serverConfigMap.cn[this.env]);
|