Skip to content

Commit f38ed89

Browse files
committed
dynamic branch name
1 parent 496685f commit f38ed89

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ DEFAULT_COMMIT="git commit -m \"$1\""
88

99
if [ "$CURRENT_BRANCH" != "dev" ] && [ "$CURRENT_BRANCH" != "master" ] && [ "$CURRENT_BRANCH" != "qa" ] && [ "$CURRENT_BRANCH" != "uat" ]
1010
then
11-
echo "Commiting with custom branch name"
11+
echo "Commiting with branch name-> $CURRENT_BRANCH"
1212
eval $COMMIT_WITH_BRANCH
1313
else
14-
echo "Commiting with default branch"
14+
echo "Commiting with default branch"
1515
eval $DEFAULT_COMMIT
1616
fi

0 commit comments

Comments
 (0)