update project script possible different JS-API (#4949)

This commit is contained in:
Eugenio Romano 2019-07-20 20:47:16 +02:00 committed by GitHub
parent 1064b71308
commit c9cf51a1f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -2,8 +2,6 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/../../
echo "Update Generator"
./update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/generator-ng2-alfresco-app'
echo "Update ACA"

View File

@ -5,6 +5,7 @@ eval GNU=false
set -e
TEMP_GENERATOR_DIR=".tmp-generator";
VERSION=$(npm view @alfresco/adf-core@beta version)
JS_VERSION=$(npm view @alfresco/js-api@beta version)
show_help() {
echo "Usage: update-project.sh"
@ -47,9 +48,9 @@ BRANCH="ADF-update-beta-$VERSION"
git checkout -b $BRANCH
if $GNU; then
./scripts/update-version.sh -gnu -v $VERSION
./scripts/update-version.sh -gnu -v $VERSION -vj $JS_VERSION
else
./scripts/update-version.sh -v $VERSION
./scripts/update-version.sh -v $VERSION -vj $JS_VERSION
fi
git add .