We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d1462a commit 4439969Copy full SHA for 4439969
deploy.sh
@@ -1,6 +1,9 @@
1
#!/bin/bash
2
+BOLD=$(tput bold)
3
+RESET=$(tput sgr0)
4
+
5
echo "=============================="
-echo "${PWD##*/}"
6
+echo "${BOLD}${PWD##*/}${RESET}"
7
8
9
# docs dir
@@ -17,12 +20,12 @@ cd -
17
20
18
21
# get commit message
19
22
printf "\n"
-IFS= read -r -p "Enter commit message: " commitmsg
23
+IFS= read -r -p "${BOLD}Enter commit message: ${RESET}" commitmsg
24
25
# if commitmsg empty
26
if [ -z "$commitmsg" ]
27
then
- echo "Commit message is empty"
28
+ echo "${BOLD}Commit message is empty${RESET}"
29
commitmsg="Add files via upload"
30
fi
31
0 commit comments