File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments