mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3401] Filter facets are not reseted when updating the search query (#4425)
* C299200 automated * Test package version * Save the head of development into a tmp file (this will avoid error in case of rebase meanwhile the pipeline is running) Remove the -gnu in the wrong position * Update test-e2e-lib.sh * Print adf version on each step * Print adf version on each step * Add console log and skip install on the unit test demo shell * Remove the print dependendy
This commit is contained in:
committed by
Eugenio Romano
parent
3136580bba
commit
fca9e51c16
@@ -3,6 +3,7 @@
|
||||
eval BRANCH_NAME=""
|
||||
eval HEAD_SHA_BRANCH=""
|
||||
eval SHA_2="HEAD"
|
||||
eval DIRECTORY="tmp"
|
||||
|
||||
show_help() {
|
||||
echo "Usage: affected-folder.sh"
|
||||
@@ -39,6 +40,10 @@ then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ ! -f ./$DIRECTORY/devhead.txt ]; then
|
||||
git merge-base origin/$BRANCH_NAME HEAD > ./$DIRECTORY/devhead.txt
|
||||
fi
|
||||
|
||||
HEAD_SHA_BRANCH="$(git merge-base origin/$BRANCH_NAME HEAD)"
|
||||
#echo "Branch name $BRANCH_NAME HEAD sha " $HEAD_SHA_BRANCH
|
||||
|
||||
|
@@ -43,8 +43,11 @@ then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#HEAD_SHA_BRANCH=(`git merge-base origin/$BRANCH_NAME HEAD`)
|
||||
HEAD_SHA_BRANCH="$(git merge-base origin/$BRANCH_NAME HEAD)"
|
||||
if [ ! -f ./$DIRECTORY/devhead.txt ]; then
|
||||
git merge-base origin/$BRANCH_NAME HEAD > ./$DIRECTORY/devhead.txt
|
||||
fi
|
||||
|
||||
HEAD_SHA_BRANCH="$(cat ./$DIRECTORY/devhead.txt)"
|
||||
echo "Branch name $BRANCH_NAME HEAD sha " $HEAD_SHA_BRANCH
|
||||
|
||||
# tmp folder doesn't exist.
|
||||
|
@@ -26,8 +26,7 @@ then
|
||||
fi
|
||||
|
||||
#reset the tmp folder
|
||||
rm -rf tmp
|
||||
affected="$(./scripts/affected-libs.sh -b "$BRANCH_NAME")"
|
||||
affected="$(./scripts/affected-libs.sh -gnu -b "$BRANCH_NAME")"
|
||||
echo $affected
|
||||
libs=(`echo $affected | sed 's/^$/\n/g'`)
|
||||
|
||||
@@ -85,4 +84,4 @@ do
|
||||
if [ "$i" == "testing$" ] ; then
|
||||
./scripts/build-testing.sh || exit 1;
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
Reference in New Issue
Block a user