mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* [ACS-8688] export playwright shared lib * [ACS-8688] changes name * [ACS-8688] changes name * [ACS-8688] add lint file and fix lint issue * [ACS-8688] test fix * added ng package file
28 lines
555 B
Bash
Executable File
28 lines
555 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../../.." && pwd )"
|
|
VERSION=$1
|
|
DRY_RUN=$2
|
|
|
|
if [[ -z "$VERSION" ]]; then
|
|
echo "Missing version parameter"
|
|
exit 1
|
|
fi
|
|
|
|
export PROJECTS=(
|
|
'aca-content'
|
|
'aca-shared',
|
|
'aca-playwright-shared'
|
|
);
|
|
|
|
for PROJECT in ${PROJECTS[@]}
|
|
do
|
|
echo "Updating \"$PROJECT\" to version \"$VERSION\""
|
|
|
|
if [[ "$DRY_RUN" != "true" ]]; then
|
|
PROJECT_DIR=$ROOT_DIR/projects/$PROJECT
|
|
|
|
(cd $PROJECT_DIR && npm version --allow-same-version --no-git-tag-version --force "$VERSION")
|
|
fi
|
|
done
|