Skip to content

Commit

Permalink
custom error msg
Browse files Browse the repository at this point in the history
Signed-off-by: pratik-parikh01 <pgppratik@gmail.com>
  • Loading branch information
pratik-parikh01 committed Oct 8, 2024
1 parent c420f29 commit f2115a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ jobs:
if: matrix.target == 'binaries'
run: |
./bin/registry-api-descriptor-template ./docs/content/spec/api.md.tmpl > /tmp/api.md
diff docs/content/spec/api.md /tmp/api.md
diff docs/content/spec/api.md /tmp/api.md -q
result=$?
if [ "$result" != 0 ]
then
echo "Ensure you have run the following before pushing your commits:
make binaries
./bin/registry-api-descriptor-template ./docs/content/spec/api.md.tmpl > ./docs/content/spec/api.md"
exit 1
fi

0 comments on commit f2115a8

Please sign in to comment.