fixed check action

This commit is contained in:
iko 2022-01-17 10:27:44 +03:00
parent c01ef43ed5
commit 135c0bacdc
Signed by untrusted user: iko
GPG Key ID: 82C257048D1026F2

View File

@ -75,7 +75,7 @@ jobs:
- name: Check changelog
if: github.event_name == 'release'
run: |
if [ ! grep '^## ${{ github.event.release.tag_name }}$' CHANGELOG.md ]; then
if ! grep '^## ${{ github.event.release.tag_name }}$' CHANGELOG.md; then
echo "::error file=CHANGELOG.md::CHANGELOG.md does not contain an entry for this release."
exit 1
fi