Skip to content

Commit

Permalink
Update git index to make git diff-index behave as expected (#5)
Browse files Browse the repository at this point in the history
Source-Version: bbfe0b077c7179ef35139cc6629ecb4fee4ff494
  • Loading branch information
roxbot committed Oct 28, 2020
1 parent 9e175d3 commit dce9ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
rm -f latest 2>/dev/null || true
ln -s "./${LATEST_VERSION}/" latest
git add latest
if git diff-index --quiet HEAD ; then
if git diff --quiet HEAD; then
echo "No updates."
else
echo "Updated README and latest symlink"
Expand Down

0 comments on commit dce9ebd

Please sign in to comment.