kopia lustrzana https://github.com/inkstitch/inkstitch
support slashes in branch names
rodzic
5a05e82744
commit
fa899453bb
|
@ -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
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
EXTENSIONS:=inkstitch
|
||||
|
||||
# This gets the branch name or the name of the tag
|
||||
VERSION:=$(TRAVIS_BRANCH)
|
||||
VERSION:=$(subst /,-,$(TRAVIS_BRANCH))
|
||||
OS:=$(TRAVIS_OS_NAME)
|
||||
ARCH:=$(shell uname -m)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue