From 2d88e83fa72c3e98a7ff52a31fe6dfd30ff4ea9e Mon Sep 17 00:00:00 2001 From: "update-envoy[bot]" <135279899+update-envoy[bot]@users.noreply.github.com> Date: Sun, 4 Jun 2023 09:03:57 +0100 Subject: [PATCH] ci/ --- ci/sync_envoy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/sync_envoy.sh b/ci/sync_envoy.sh index 7da4c25838..eaa064ebca 100755 --- a/ci/sync_envoy.sh +++ b/ci/sync_envoy.sh @@ -60,7 +60,7 @@ commit_changes () { changes="$(git -C "${ENVOY_SRC_DIR}" rev-list "${last_envoy_sha}"..HEAD)" echo "Changes detected: " echo "$changes" - latest_commit="$(git -C "${ENVOY_SRC_DIR}" rev-list "${last_envoy_sha}"..HEAD | head -n1)" + latest_commit="$(git -C "${ENVOY_SRC_DIR}" rev-list HEAD -n1)" echo "Latest commit: ${latest_commit}" echo "$latest_commit" > envoy/COMMIT git config user.email "$COMMITTER_EMAIL"