update script

This commit is contained in:
Eugenio Romano
2017-11-29 19:32:01 +00:00
parent a25c6a39d3
commit 3f9223eeff
3 changed files with 9 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ done
if [[ "${EXEC_MINOR}" == true ]]
then
ADF_VERSION=$(npm view ng2-alfresco-core version)
ADF_VERSION=$(npm view @alfresco/adf-core version)
NEXT_VERSION=( ${ADF_VERSION//./ } )
((NEXT_VERSION[1]++))
NEXT_VERSION[2]=0
@@ -60,7 +60,7 @@ fi
if [[ "${EXEC_MAJOR}" == true ]]
then
ADF_VERSION=$(npm view ng2-alfresco-core version)
ADF_VERSION=$(npm view @alfresco/adf-core version)
NEXT_VERSION=( ${ADF_VERSION//./ } )
((NEXT_VERSION[0]++))
NEXT_VERSION[1]=0