Skip to content

Commit adcadca

Browse files
fix(bitbucket-pipelines.yml): Renames branch_name for preliminary-operaton
ref: DSC-2193
1 parent 612506a commit adcadca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitbucket-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ definitions:
1212
image: alpine/git:latest
1313
script:
1414
- export HASH_COMMIT=${BITBUCKET_COMMIT:0:8}
15-
- export BRANCH_NAME=$(echo "$BITBUCKET_BRANCH" | awk -F'/' '{if(NF==1)val=$1; else if(NF==2)val=$1"-"$2; else if(NF==3)val=$2; else if(NF==4)val=$2"-"$3; print tolower(val)}')
15+
- export BRANCH_NAME=$(echo "$BITBUCKET_BRANCH" | awk -F'/' '{if(NF==1)val=$1; else if(NF==2)val=$1"--"$2; else if(NF==3)val=$2; else if(NF==4)val=$2"--"$3; print tolower(val)}')
1616
- echo "Using commit hash $HASH_COMMIT"
1717
- git config --global user.email "${BB_USER}"
1818
- git config --global user.name "${BB_EMAIL}"

0 commit comments

Comments
 (0)