Skip to content
Snippets Groups Projects
Commit ca50fe02 authored by Calen Pennington's avatar Calen Pennington
Browse files

Remove origin/ and replace '/' in branch names in tar file

parent 7541737c
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ if [ -z "${GIT_BRANCH}" ]; then
GIT_BRANCH=${GIT_BRANCH##refs/heads/}
GIT_BRANCH=${GIT_BRANCH:-HEAD}
fi
GIT_BRANCH=${GIT_BRANCH##origin/}
GIT_BRANCH=${GIT_BRANCH//\//_}
if [ -z "${BUILD_NUMBER}" ]; then
BUILD_NUMBER=dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment