Add git-hash information when using CodaLab

This commit is contained in:
Panupong Pasupat 2017-08-28 23:17:19 -07:00
parent 4dacb85050
commit 3ad5477081
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ if [ "$operation" == "up" ]; then
ln -s ../module-classes.txt xxx/
ln -s ../tables/grammars xxx/
ln -s ../run xxx/
{ hostname; readlink -f .; date; git log -1; git status; } > xxx/git-hash
cl upload -L -n stuff xxx
rm -rf xxx
exit 0