Skip to content

Commit

Permalink
fix error on no diff of subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondaming committed Oct 18, 2024
1 parent 631895e commit 68e9525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
echo "Base commit: $BASE_COMMIT"
# Get list of added or modified JSON files in subdirectories
git diff --diff-filter=AM --name-only $BASE_COMMIT HEAD | grep '.*/.*\.json$' > changed_json_files.txt
git diff --diff-filter=AM --name-only $BASE_COMMIT HEAD | grep '.*/.*\.json$' > changed_json_files.txt || true
# Output the list of files
echo "Changed JSON files in subdirectories:"
Expand Down
2 changes: 1 addition & 1 deletion 2025/PathplannerLib-2025.0.0-beta-3.1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"fileName": "PathplannerLib-test.json",
"fileName": "PathplannerLib-beta.json",
"name": "PathplannerLib",
"version": "2025.0.0-beta-3.1",
"uuid": "1b42324f-17c6-4875-8e77-1c312bc8c786",
Expand Down

0 comments on commit 68e9525

Please sign in to comment.