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