Skip to content
Snippets Groups Projects
Commit 0ae52ebf authored by Rick Carback's avatar Rick Carback
Browse files

get branch name a better way

parent 3318bb21
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ mkdir -p "$download_path"
rm $download_path/*
# If we are on a feature branch, add it to the eval list
FBRANCH=$(git status | grep branch | grep feature | awk '{print $3}')
FBRANCH=$(git rev-parse --abbrev-ref HEAD)
# Also check for the branch name without the "feature" on it.
FBRANCH2=$(echo $FBRANCH | sed 's/feature\///g')
......
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