Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
robhogan authored Sep 20, 2023
1 parent 37554aa commit 9d0011c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ jobs:
echo "Here1"
echo "$CIRCLE_TAG $RELEASE_BRANCH"
git branch -a --contains "$CIRCLE_TAG" | grep -Fx " remotes/origin/$RELEASE_BRANCH" | wc -l
BRANCHES_CONTAINING_TAG=$(git branch -a --contains "$CIRCLE_TAG")
echo "Branches containing tag: $BRANCHES_CONTAINING_TAG"
MATCHING_BRANCH=$(echo "$BRANCHES_CONTAINING_TAG" | grep -Fx " remotes/origin/$RELEASE_BRANCH")
echo "Matching branch: $MATCHING_BRANCH"
LINE_COUNT=$(echo "$MATCHING_BRANCH" | wc -l)
echo "Line count: $LINE_COUNT"
TAG_ON_RELEASE_BRANCH=$(git branch -a --contains "$CIRCLE_TAG" | grep -Fx " remotes/origin/$RELEASE_BRANCH" | wc -l)
echo "Here2"
echo "Tag is on release branch $RELEASE_BRANCH: $TAG_ON_RELEASE_BRANCH"
Expand Down

0 comments on commit 9d0011c

Please sign in to comment.