add version string to deploy script

This commit is contained in:
Nick 2019-11-05 10:21:09 -06:00
parent 306b671439
commit 3137181b1e
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ ssh-add .travis/id_rsa
#TODO Run backup script on remote
git rev-parse HEAD | cut -b -7 > src/VERSION
rsync -av --delete --exclude-from 'deploy_excludes.txt' -e "ssh -o StrictHostKeyChecking=no" src/ $DEPLOY_HOST/
rm .travis/id_rsa
#cp -v VERSION $DEPLOY_DIR/ > /dev/null 2>&1