Skip to content

Commit 6373a02

Browse files
committed
Cleanup ¯\_(ツ)_/¯
1 parent ef25d9a commit 6373a02

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

commit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
2+
23
echo 'Running commit script'
4+
35
CURRENT_BRANCH_CMD="git rev-parse --abbrev-ref HEAD"
46
CURRENT_BRANCH=$(eval $CURRENT_BRANCH_CMD)
57

@@ -8,7 +10,7 @@ DEFAULT_COMMIT="git commit -m \"$1\""
810

911
if [ "$CURRENT_BRANCH" != "dev" ] && [ "$CURRENT_BRANCH" != "master" ] && [ "$CURRENT_BRANCH" != "qa" ] && [ "$CURRENT_BRANCH" != "uat" ] && [ "$CURRENT_BRANCH" != "staging" ]
1012
then
11-
echo "Commiting with branch name-> $CURRENT_BRANCH"
13+
echo "Commiting with branch name -> $CURRENT_BRANCH"
1214
eval $COMMIT_WITH_BRANCH
1315
else
1416
echo "Commiting with default branch"

0 commit comments

Comments
 (0)