Files
dvc/scripts/ci/before_deploy.sh
T
Ruslan Kuprieiev 1ce2633704 travis: fixups
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-11 00:28:09 +02:00

11 lines
228 B
Bash

#!/bin/bash
set -x
set -e
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