Files
dvc/scripts/ci/before_deploy.sh
T
2018-01-10 12:45:57 +02:00

6 lines
200 B
Bash

if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]]; then
git config --local user.name 'Nightly Travis Builds'
git config --local user.email '<>'
git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
fi