Skip to content

Commit bda7faf

Browse files
authored
Merge pull request #13 from mlcommons/anandhu-eng-patch-4
Update db version
2 parents a9e096a + c906001 commit bda7faf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/update-results.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,7 @@ jobs:
4242
cat temp | cat - README.md > temp1
4343
head -n 100 temp1 > README.md
4444
git add README.md
45+
ver_num=$(cat dbversion)
46+
let ver_num++
4547
46-
git diff-index --quiet HEAD || (git commit -am "Updated results summary" && git push)
48+
git diff-index --quiet HEAD || (echo "$ver_num" > dbversion && git commit -am "Updated results summary" && git push)

0 commit comments

Comments
 (0)