From 46ae4a9487cf3108b993bbb1e43ccab1a9c070db Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sun, 14 Mar 2021 15:28:45 +1300 Subject: [PATCH] repo: correct commit sha... --- repo/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repo/entrypoint.sh b/repo/entrypoint.sh index 40822ed..cede653 100755 --- a/repo/entrypoint.sh +++ b/repo/entrypoint.sh @@ -20,7 +20,8 @@ do echo "Running in CI mode, --no-build, --no-server" BUILD=0 SERVER=0 - SHA=$2 + SHA=$1 + shift 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"