5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 09:30:28 +00:00

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 fi
# If it is something other than master, append it # 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/\//}"