diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-08-17 15:52:55 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-08-17 15:59:38 -0400 |
| commit | fa899453bbd3915fec2d54e06557aacad82ac3f5 (patch) | |
| tree | dee9829fb93c51ae328586f6ca1330cfc5c97783 /.travis.yml | |
| parent | 5a05e82744df5ee7e6a782b4ac1f2d9a52944b7e (diff) | |
support slashes in branch names
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 261a9982..a3f6360b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -154,8 +154,8 @@ notifications: before_deploy: - | if [[ !("$TRAVIS_TAG" =~ ^v[0-9.]+$) ]]; then - git tag -f dev-build-${TRAVIS_BRANCH} - git push -f https://${TRAVIS_REPO_SLUG%/*}:${GITHUB_API_KEY}@github.com/${TRAVIS_REPO_SLUG}.git dev-build-${TRAVIS_BRANCH} + git tag -f dev-build-${TRAVIS_BRANCH//\//-} + git push -f https://${TRAVIS_REPO_SLUG%/*}:${GITHUB_API_KEY}@github.com/${TRAVIS_REPO_SLUG}.git dev-build-${TRAVIS_BRANCH//\//-} fi deploy: - provider: releases |
