run ./gradlew test not gw-test alias in git-pull-...

This commit is contained in:
Michael Hönnig 2024-09-13 13:19:29 +02:00
parent 51bff646ab
commit 33f1706d34

View File

@ -16,10 +16,9 @@ while true; do
git pull origin $BRANCH
# run the command
echo "Running gw-test"
shopt -s expand_aliases
source .aliases
gw-test
echo "Running ./gradlew test"
source .aliases # only variables, aliases are not expanded in scripts
./gradlew test
else
echo "no changes detected on the origin branch"
fi