Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
matifali authored Sep 25, 2024
1 parent 2c02fb5 commit f3044db
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ jobs:
run: |
# check for version changes
./update-version.sh
if [[ -n "$(git status --porcelain)" ]]; then
echo "Version mismatch. Please run ./update-version.sh"
git diff
# Check if any changes were made in README.md files
if [[ -n "$(git status --porcelain -- '**/README.md')" ]]; then
echo "Version mismatch detected. Please run ./update-version.sh and commit the updated README.md files."
git diff -- '**/README.md'
exit 1
else
echo "No changes detected."
echo "No version mismatch detected. All versions are up to date."
fi

0 comments on commit f3044db

Please sign in to comment.