Skip to content

Commit 9d0011c

Browse files
authored
Update config.yml
1 parent 37554aa commit 9d0011c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ jobs:
120120
echo "Here1"
121121
echo "$CIRCLE_TAG $RELEASE_BRANCH"
122122
git branch -a --contains "$CIRCLE_TAG" | grep -Fx " remotes/origin/$RELEASE_BRANCH" | wc -l
123+
BRANCHES_CONTAINING_TAG=$(git branch -a --contains "$CIRCLE_TAG")
124+
echo "Branches containing tag: $BRANCHES_CONTAINING_TAG"
125+
126+
MATCHING_BRANCH=$(echo "$BRANCHES_CONTAINING_TAG" | grep -Fx " remotes/origin/$RELEASE_BRANCH")
127+
echo "Matching branch: $MATCHING_BRANCH"
128+
129+
LINE_COUNT=$(echo "$MATCHING_BRANCH" | wc -l)
130+
echo "Line count: $LINE_COUNT"
123131
TAG_ON_RELEASE_BRANCH=$(git branch -a --contains "$CIRCLE_TAG" | grep -Fx " remotes/origin/$RELEASE_BRANCH" | wc -l)
124132
echo "Here2"
125133
echo "Tag is on release branch $RELEASE_BRANCH: $TAG_ON_RELEASE_BRANCH"

0 commit comments

Comments
 (0)