[ADF-4825] Use ADF-CLI in ADF for versions and latest commit (#4994)

* [ADF-4825] Use ADF-CLI in ADF for versions and latest commit

* Add documentation

* Update update-version.ts

* Update release.sh

* Update update-project.sh

* Update release.sh

* Update update-project.sh

* Update release.sh

* Update update-project.sh

* Update README.md

* Rebase branch

* Update package.json

* Update build.sh

* Update package.json
This commit is contained in:
davidcanonieto
2019-08-28 11:01:00 +01:00
committed by Maurizio Vitale
parent 3aed425020
commit 8a48738b99
6 changed files with 34 additions and 15 deletions

View File

@@ -33,9 +33,9 @@ release() {
git checkout development
if $GNU; then
./scripts/update-version.sh -gnu -v $VERSION
./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION
else
./scripts/update-version.sh -v $VERSION
./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --skipGnu
fi
git add .

View File

@@ -48,9 +48,9 @@ BRANCH="ADF-update-beta-$VERSION"
git checkout -b $BRANCH
if $GNU; then
./scripts/update-version.sh -gnu -v $VERSION -vj $JS_VERSION
./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION
else
./scripts/update-version.sh -v $VERSION -vj $JS_VERSION
./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION --skipGnu
fi
git add .