Skip to content

Commit

Permalink
Use proper regex to check for correct version in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Nov 19, 2024
1 parent 32c9422 commit 2099dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/roll_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if [ -z "${VERSION_TAG}" ]; then
sanity_errors=0

printf "Checking that %s has an entry for %s... " "${changelog_path}" "${VERSION_FULL_NOTAG}"
if grep "## ${VERSION_FULL_NOTAG}" "${changelog_path}"; then
if grep "## ${REGEX_VERSION_FULL_NOTAG}" "${changelog_path}"; then
echo "OK"
else
echo "Missing"
Expand Down

0 comments on commit 2099dea

Please sign in to comment.