Skip to content

Commit

Permalink
Check for version in CHANGELOG in verify script
Browse files Browse the repository at this point in the history
  • Loading branch information
meshy committed May 4, 2022
1 parent a32ac9f commit cd0d5fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions verify-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ else
echo "GitHub ref does not match project version."
exit 1
fi

if grep "## \[${version}\]" CHANGELOG.md > /dev/null ; then
echo "Version found in CHANGELOG.md"
else
echo "Version not found in CHANGELOG.md"
exit 1
fi

0 comments on commit cd0d5fa

Please sign in to comment.