From ada44e41b53f2378f2b7e2a324d48c8f2eb05cf3 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sun, 14 Mar 2021 18:27:28 +1300 Subject: [PATCH] repo: logging verbosity --- repo/entrypoint.sh | 4 +++- repo/mkindex.sh | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/repo/entrypoint.sh b/repo/entrypoint.sh index d9fc973..a0f7e1a 100755 --- a/repo/entrypoint.sh +++ b/repo/entrypoint.sh @@ -28,10 +28,12 @@ do elif [[ $CI -eq 1 ]]; then echo "Commit SHA: $pkg" + cd .. echo "Changed files:" git diff --name-only $pkg^1 $pkg - PACKAGES=$(git diff --name-only $pkg^1 $pkg | awk -F/ '{ print $2 "-" $3 }' | sort -u) + cd packages + echo "Building packages: $PACKAGES" for package in "$PACKAGES"; do make -j16 $package.pkg.tar.gz diff --git a/repo/mkindex.sh b/repo/mkindex.sh index c3c72a0..082423e 100755 --- a/repo/mkindex.sh +++ b/repo/mkindex.sh @@ -17,6 +17,7 @@ do PKGCHECKSUM=$(sha256sum $PKGFILE | awk '{print $1}') echo "$PKGNAME,$PKGVERSION,$PKGCHECKSUM,$BASEURL$PKGFILE" >> index + echo "Adding package $PKGNAME-$PKGVERSION" ((i=i+1)) done \ No newline at end of file