Skip to content

Commit

Permalink
fix internal branch name for ci (#1580)
Browse files Browse the repository at this point in the history
  • Loading branch information
ank27 authored Aug 11, 2022
1 parent bb5cd24 commit 725b22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ commands:
name: Start internal CI release flow
command: |
if [[ $CIRCLE_TAG =~ << pipeline.parameters.git_release_tag >> ]]; then
TARGET_BRANCH=$(echo $CIRCLE_TAG | awk -F\- '{print $2}' | cut -f1-2 -d".")
TARGET_BRANCH=$(echo $CIRCLE_TAG | awk -F\- '{print $1}' | cut -f1-2 -d".")
python3 scripts/start-internal-release-pipeline.py --token ${MOBILE_METRICS_TOKEN} --origin-slug mapbox/mapbox-maps-android --target-slug mapbox/mapbox-maps-android-internal --release_tag $CIRCLE_TAG --branch $TARGET_BRANCH
fi
track-metrics:
Expand Down

0 comments on commit 725b22e

Please sign in to comment.