Skip to content

Commit 5e0db83

Browse files
committed
Fix conflicts
2 parents 0b8f4d3 + bd3cf83 commit 5e0db83

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

commit

100755100644
Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,8 @@ CURRENT_BRANCH=$(eval $CURRENT_BRANCH_CMD)
1717

1818
COMMIT_WITH_BRANCH="git commit -m \"$CURRENT_BRANCH: $1\""
1919
DEFAULT_COMMIT="git commit -m \"$1\""
20-
IS_IGNORED=false
2120

22-
for branch in "${IGNORED_BRANCHES[@]}";
23-
do
24-
if [ "$CURRENT_BRANCH" == $branch ]
25-
then
26-
IS_IGNORED=true
27-
break
28-
fi
29-
done
30-
31-
if [ "$IS_IGNORED" == false ]
21+
if [ "$CURRENT_BRANCH" != "dev" ] && [ "$CURRENT_BRANCH" != "master" ] && [ "$CURRENT_BRANCH" != "qa" ] && [ "$CURRENT_BRANCH" != "uat" ] && [ "$CURRENT_BRANCH" != "staging" ]
3222
then
3323
echo "Commiting with branch name -> $CURRENT_BRANCH"
3424
eval $COMMIT_WITH_BRANCH

0 commit comments

Comments
 (0)