Changed validate.sh to only trust latest timestamp commit version

added arguments to validate.sh
--verbose to generate verbose output
--minversion to specify minimum timestamp commit version to be trust
This commit is contained in:
Matthias Bühlmann
2021-02-21 19:19:27 +01:00
parent 58ba3dbd48
commit 83c16a2f77
3 changed files with 72 additions and 12 deletions

View File

@@ -75,6 +75,13 @@ echo_info() {
echo -e "${LIGHT_BLUE}$1${NO_COLOR}"
}
#echo light green text
echo_success() {
local LIGHT_GREEN='\033[1;32m'
local NO_COLOR='\033[0m'
echo -e "${LIGHT_GREEN}$1${NO_COLOR}"
}
#echo dark gray text to OUT_STREAM
log() {
local DARK_GRAY='\033[1;30m'