Skip to content

Commit

Permalink
Update travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFlash787 committed Oct 18, 2020
1 parent 1395882 commit 931e4ce
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ branches:
- "/^v\\d+\\.\\d+\\.\\d+$/"

before_deploy:
# Set up git user name and tag this commit
- git config --local user.name "TheFlash787"
- git config --local user.email "sonically@hotmail.co.uk"
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
- git tag $TRAVIS_TAG
- if ! [[ $TRAVIS_TAG ]]; then
- git config --local user.name "TheFlash787"
- git config --local user.email "sonically@hotmail.co.uk"
- git tag $TRAVIS_TAG
- fi

deploy:
provider: releases
Expand Down

0 comments on commit 931e4ce

Please sign in to comment.