mirror of
https://github.com/superhelio/tools.git
synced 2026-01-26 11:24:06 +00:00
Comment out unused variables (unused colors and BRANCH_CURRENT)
This commit is contained in:
@@ -17,11 +17,11 @@ NOW="$(date +'%Y-%m-%d')"
|
|||||||
RED="\033[1;31m"
|
RED="\033[1;31m"
|
||||||
GREEN="\033[0;32m"
|
GREEN="\033[0;32m"
|
||||||
YELLOW="\033[1;33m"
|
YELLOW="\033[1;33m"
|
||||||
BLUE="\033[1;34m"
|
#BLUE="\033[1;34m"
|
||||||
PURPLE="\033[1;35m"
|
#PURPLE="\033[1;35m"
|
||||||
CYAN="\033[1;36m"
|
CYAN="\033[1;36m"
|
||||||
WHITE="\033[1;37m"
|
WHITE="\033[1;37m"
|
||||||
RESET="\033[0m"
|
#RESET="\033[0m"
|
||||||
|
|
||||||
LATEST_HASH=$(git log --pretty=format:'%h' -n 1)
|
LATEST_HASH=$(git log --pretty=format:'%h' -n 1)
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ LATEST_HASH=$(git log --pretty=format:'%h' -n 1)
|
|||||||
PROJECT_URL=$(git config --get remote.origin.url | sed 's/\.git//' | sed 's/\:/\//' | sed 's/git@/https\:\/\//' | sed 's/\/\/\//\:\/\//')
|
PROJECT_URL=$(git config --get remote.origin.url | sed 's/\.git//' | sed 's/\:/\//' | sed 's/git@/https\:\/\//' | sed 's/\/\/\//\:\/\//')
|
||||||
|
|
||||||
# current Git branch
|
# current Git branch
|
||||||
BRANCH_CURRENT=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
|
#BRANCH_CURRENT=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
|
||||||
|
|
||||||
# establish branch and tag name variables
|
# establish branch and tag name variables
|
||||||
BRANCH_DEV=develop
|
BRANCH_DEV=develop
|
||||||
|
|||||||
Reference in New Issue
Block a user