We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20c3543 commit 72867b7Copy full SHA for 72867b7
1 file changed
commit
@@ -6,7 +6,7 @@ CURRENT_BRANCH=$(eval $CURRENT_BRANCH_CMD)
6
COMMIT_WITH_BRANCH="git commit -m \"$CURRENT_BRANCH: $1\""
7
DEFAULT_COMMIT="git commit -m \"$1\""
8
9
-if [ "$CURRENT_BRANCH" != "dev" ] && [ "$CURRENT_BRANCH" != "master" ] && [ "$CURRENT_BRANCH" != "qa" ] && [ "$CURRENT_BRANCH" != "uat" ]
+if [ "$CURRENT_BRANCH" != "dev" ] && [ "$CURRENT_BRANCH" != "master" ] && [ "$CURRENT_BRANCH" != "qa" ] && [ "$CURRENT_BRANCH" != "uat" ] && [ "$CURRENT_BRANCH" != "staging" ]
10
then
11
echo "Commiting with branch name-> $CURRENT_BRANCH"
12
eval $COMMIT_WITH_BRANCH
0 commit comments