Skip to content

Commit

Permalink
bash is confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Oct 30, 2024
1 parent 0854b8a commit bf303ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/draft-release-pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
run: |
FILE="${{ steps.file-presence.outputs.FILE }}"
VERSION="$(php build/dump-version-info.php base_version)"
if [ ! $(grep -Fqx "# $VERSION" "${{ github.workspace }}/$FILE") ]; then
if ! grep -Fqx "# $VERSION" "${{ github.workspace }}/$FILE"; then
echo "::error::Header for $VERSION not found in $FILE"
exit 1
fi
Expand Down

0 comments on commit bf303ad

Please sign in to comment.