mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
build,travis: fix return code when "No new or modified packages found!"
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
+2
-2
@@ -61,8 +61,8 @@ test_packages2() {
|
|||||||
PKGS=$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep 'Makefile$' | grep -v '/files/' | awk -F'/Makefile' '{ print $1 }')
|
PKGS=$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep 'Makefile$' | grep -v '/files/' | awk -F'/Makefile' '{ print $1 }')
|
||||||
|
|
||||||
if [ -z "$PKGS" ] ; then
|
if [ -z "$PKGS" ] ; then
|
||||||
echo_blue "No new or modified packages found!" >&2
|
echo_blue "No new or modified packages found!"
|
||||||
exit 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo_blue "=== Found new/modified packages:"
|
echo_blue "=== Found new/modified packages:"
|
||||||
|
|||||||
Reference in New Issue
Block a user