fix release project cli and dependency (#5404)

This commit is contained in:
Eugenio Romano
2020-01-27 13:15:25 +01:00
committed by GitHub
parent 1bfead2cd3
commit 1754baa111
2 changed files with 2 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
},
"dependencies": {
"commander": "^4.0.0",
"@alfresco/adf-testing": "3.6.0",
"license-checker": "^25.0.1",
"npm-registry-fetch": "^3.9.0",
"@angular-devkit/core": "^7.2.15",

View File

@@ -151,7 +151,7 @@ async function checkIfAppIsReleased(absentApps: any []) {
if (projectReleaseList.list.entries.length === 0) {
logger.warn('Project needs release');
projectRelease = await modelingAPI.releaseProject(project.entry);
projectRelease = await modelingAPI.releaseProject(project);
logger.warn(`Project released: ${projectRelease.id}`);
} else {
logger.info('Project already has release');