diff --git a/repo/entrypoint.sh b/repo/entrypoint.sh index 5c2964d..40822ed 100755 --- a/repo/entrypoint.sh +++ b/repo/entrypoint.sh @@ -20,7 +20,9 @@ do echo "Running in CI mode, --no-build, --no-server" BUILD=0 SERVER=0 - PACKAGES=$(git diff-tree --no-commit-id --name-only -r $1 | awk -F/ '{ print $2 "-" $3 }' | sort -u) + SHA=$2 + echo "Commit Sha: $SHA" + PACKAGES=$(git diff-tree --no-commit-id --name-only -r $SHA | awk -F/ '{ print $2 "-" $3 }' | sort -u) echo "Building packages: $PACKAGES" for package in "$PACKAGES"; do make -j16 $package.pkg.tar.gz