repo: logging verbosity

This commit is contained in:
Thomas Hobson 2021-03-14 18:27:28 +13:00
parent 6290fdfdba
commit ada44e41b5
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
2 changed files with 4 additions and 1 deletions

View File

@ -28,10 +28,12 @@ do
elif [[ $CI -eq 1 ]]; then elif [[ $CI -eq 1 ]]; then
echo "Commit SHA: $pkg" echo "Commit SHA: $pkg"
cd ..
echo "Changed files:" echo "Changed files:"
git diff --name-only $pkg^1 $pkg git diff --name-only $pkg^1 $pkg
PACKAGES=$(git diff --name-only $pkg^1 $pkg | awk -F/ '{ print $2 "-" $3 }' | sort -u) PACKAGES=$(git diff --name-only $pkg^1 $pkg | awk -F/ '{ print $2 "-" $3 }' | sort -u)
cd packages
echo "Building packages: $PACKAGES" echo "Building packages: $PACKAGES"
for package in "$PACKAGES"; do for package in "$PACKAGES"; do
make -j16 $package.pkg.tar.gz make -j16 $package.pkg.tar.gz

View File

@ -17,6 +17,7 @@ do
PKGCHECKSUM=$(sha256sum $PKGFILE | awk '{print $1}') PKGCHECKSUM=$(sha256sum $PKGFILE | awk '{print $1}')
echo "$PKGNAME,$PKGVERSION,$PKGCHECKSUM,$BASEURL$PKGFILE" >> index echo "$PKGNAME,$PKGVERSION,$PKGCHECKSUM,$BASEURL$PKGFILE" >> index
echo "Adding package $PKGNAME-$PKGVERSION"
((i=i+1)) ((i=i+1))
done done