Skip to content

Commit

Permalink
clean up how branch tags are made to be dependabot-compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Jun 27, 2023
1 parent cf53572 commit c7194ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ jobs:
- run:
name: Generate version number for this build
command: |
BRANCH_TAG=$(echo ${CIRCLE_BRANCH/release-/} | tr '[:upper:]' '[:lower:]')
echo "export VERSION=${BRANCH_TAG/\//-}-b${CIRCLE_BUILD_NUM}" >> ${BASH_ENV}
BRANCH_TAG="$(echo "${CIRCLE_BRANCH/release-/}" | tr '[:upper:]' '[:lower:]')"
VERSION="$(echo "${BRANCH_TAG}" | sed -e 's,/,-,g')-b${CIRCLE_BUILD_NUM}"
echo "export VERSION=${VERSION}" >> ${BASH_ENV}
- run:
name: Compile and run tests
command: |
Expand Down

0 comments on commit c7194ad

Please sign in to comment.