We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef3302c commit b1fe3e0Copy full SHA for b1fe3e0
tools/update-components.sh
@@ -19,10 +19,11 @@ fi
19
20
if [ -z $AR_BRANCH ]; then
21
if [ -z $GITHUB_HEAD_REF ]; then
22
- current_branch="$GITHUB_HEAD_REF"
23
- else
24
current_branch=`git branch --show-current`
+ else
+ current_branch="$GITHUB_HEAD_REF"
25
fi
26
+ echo "Current Branch: $current_branch"
27
if [[ "$current_branch" != "master" && `git_branch_exists "$AR_COMPS/arduino" "$current_branch"` == "1" ]]; then
28
export AR_BRANCH="$current_branch"
29
else
0 commit comments