apparently PRs get a slash in the branch name, which causes problems for the circleci builds

This commit is contained in:
Arceliar 2018-03-05 22:47:50 -06:00
parent 206570770a
commit 9553b1ef8f

View File

@ -10,4 +10,5 @@ if [ "$BRANCH" = "master" ]; then
fi
# If it is something other than master, append it
printf "yggdrasil-%s" "$BRANCH"
# Remove any "/" characters from e.g. "pull/N"
printf "yggdrasil-%s" "${BRANCH/\//}"