Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
integration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
integration
Commits
0ae52ebf
Commit
0ae52ebf
authored
4 years ago
by
Rick Carback
Browse files
Options
Downloads
Patches
Plain Diff
get branch name a better way
parent
3318bb21
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
download_cmix_binaries.sh
+1
-1
1 addition, 1 deletion
download_cmix_binaries.sh
with
1 addition
and
1 deletion
download_cmix_binaries.sh
+
1
−
1
View file @
0ae52ebf
...
...
@@ -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'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment