@docupace/pipeline 1.0.7-7.micro-cli5 → 1.0.7-7.micro-cli6
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 +1 -1
- package/src/micro/ms-deploy.js +5 -1
package/package.json
CHANGED
package/src/micro/ms-deploy.js
CHANGED
|
@@ -216,10 +216,14 @@ export async function deployMicroservice(
|
|
|
216
216
|
export default deployMicroservice;
|
|
217
217
|
|
|
218
218
|
export async function microserviceDeployTagVersion(
|
|
219
|
-
|
|
219
|
+
repoName,
|
|
220
220
|
environment = '',
|
|
221
221
|
tag = null,
|
|
222
222
|
) {
|
|
223
|
+
const serviceName = String(repoName || '')
|
|
224
|
+
.split('-')
|
|
225
|
+
.pop()
|
|
226
|
+
.trim();
|
|
223
227
|
console.log(`Starting ${serviceName} test deployment...`);
|
|
224
228
|
console.log(`Environment: ${environment}`);
|
|
225
229
|
console.log(`Tag: ${tag}`);
|