Slight change.
This commit is contained in:
parent
87dd6d1b73
commit
5fb03b4c1c
6
mktable
6
mktable
@ -14,6 +14,9 @@ ret_code=$?
|
|||||||
|
|
||||||
if [[ $ret_code == 0 ]]; then
|
if [[ $ret_code == 0 ]]; then
|
||||||
|
|
||||||
|
# Check the difference between game results
|
||||||
|
git diff HEAD^ HEAD -- $results
|
||||||
|
|
||||||
# Update the tournament table
|
# Update the tournament table
|
||||||
bin/lorchess > temp_table.html
|
bin/lorchess > temp_table.html
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
@ -21,7 +24,4 @@ if [[ $ret_code == 0 ]]; then
|
|||||||
git add $table
|
git add $table
|
||||||
git commit -m "Update the tournament table."
|
git commit -m "Update the tournament table."
|
||||||
git checkout master
|
git checkout master
|
||||||
|
|
||||||
# Check the difference between game results
|
|
||||||
git diff HEAD^ HEAD -- $results
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user