From fc46909b3d379403e34860568d6e2cc7ca64f725 Mon Sep 17 00:00:00 2001 From: Nora Sandler Date: Mon, 19 Aug 2024 12:14:50 -0700 Subject: [PATCH] fix both git log grep commands --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 34de94f..e06c2fa 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -51,7 +51,7 @@ jobs: - name: Get commit hash run: | git log --grep "chapter $CHAPTER\b" -i --format='%H' -n 1 - commit=$(git log --grep "chapter $CHAPTER" -i --format='%H' -n 1) + commit=$(git log --grep "chapter $CHAPTER\b" -i --format='%H' -n 1) echo "commit=$commit" >> $GITHUB_ENV - name: Check out NQCC at chapter ${{ inputs.chapter }}