Skip to content

Commit

Permalink
Fix syntax issue in pre-release script (#2021)
Browse files Browse the repository at this point in the history
Co-authored-by: Lalit Kumar Bhasin <[email protected]>
  • Loading branch information
ThomsonTan and lalitb authored Mar 7, 2023
1 parent f732872 commit 04a0751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildscripts/pre_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04a0751

Please sign in to comment.