From f1107f651cc7bd7fe6fdf8fc71587d594cbe3aa6 Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Mon, 6 Mar 2023 12:06:04 -0800 Subject: [PATCH] Fix syntax issue in pre-release script --- buildscripts/pre_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/pre_release.sh b/buildscripts/pre_release.sh index 2382d3d68b..b5ac4bc0fe 100755 --- a/buildscripts/pre_release.sh +++ b/buildscripts/pre_release.sh @@ -48,7 +48,7 @@ if [ ! -f $changelog_file ]; then exit 1 fi -if [ ! grep -q "^\#\# \[Unreleased\]$" $changelog_file ]; then +if ! grep -q "^\#\# \[Unreleased\]$" "$changelog_file" ; then echo "Error: $changelog_file doesn't contain Unreleased information. Please update the file with changes and run this script again." exit 1 fi