mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
update project script possible different JS-API (#4949)
This commit is contained in:
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
cd $DIR/../../
|
|
||||||
|
|
||||||
echo "Update Generator"
|
echo "Update Generator"
|
||||||
./update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/generator-ng2-alfresco-app'
|
./update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/generator-ng2-alfresco-app'
|
||||||
echo "Update ACA"
|
echo "Update ACA"
|
||||||
|
@@ -5,6 +5,7 @@ eval GNU=false
|
|||||||
set -e
|
set -e
|
||||||
TEMP_GENERATOR_DIR=".tmp-generator";
|
TEMP_GENERATOR_DIR=".tmp-generator";
|
||||||
VERSION=$(npm view @alfresco/adf-core@beta version)
|
VERSION=$(npm view @alfresco/adf-core@beta version)
|
||||||
|
JS_VERSION=$(npm view @alfresco/js-api@beta version)
|
||||||
|
|
||||||
show_help() {
|
show_help() {
|
||||||
echo "Usage: update-project.sh"
|
echo "Usage: update-project.sh"
|
||||||
@@ -47,9 +48,9 @@ BRANCH="ADF-update-beta-$VERSION"
|
|||||||
git checkout -b $BRANCH
|
git checkout -b $BRANCH
|
||||||
|
|
||||||
if $GNU; then
|
if $GNU; then
|
||||||
./scripts/update-version.sh -gnu -v $VERSION
|
./scripts/update-version.sh -gnu -v $VERSION -vj $JS_VERSION
|
||||||
else
|
else
|
||||||
./scripts/update-version.sh -v $VERSION
|
./scripts/update-version.sh -v $VERSION -vj $JS_VERSION
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git add .
|
git add .
|
Reference in New Issue
Block a user