From e4a798e9ccceede7be73faccefcf51ea226069f4 Mon Sep 17 00:00:00 2001 From: Ian Wright Date: Wed, 3 Jan 2024 15:33:43 +0000 Subject: [PATCH] better comment --- java/ql/automodel/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/automodel/publish.sh b/java/ql/automodel/publish.sh index 0fcc26377e0..8fe4ae2aac1 100755 --- a/java/ql/automodel/publish.sh +++ b/java/ql/automodel/publish.sh @@ -31,7 +31,7 @@ if [ -z "${GH_TOKEN}" ]; then exit 1 fi -# Get the sha of the previous release +# Get the sha of the previous release, i.e. the last commit to the main branch that updated the query pack version PREVIOUS_RELEASE_SHA=$(git rev-list -n 1 main -- ./src/qlpack.yml) if [ -z "$PREVIOUS_RELEASE_SHA" ]; then echo "Error: Could not get the sha of the previous release of codeml-automodel query pack"