From c895a5c2683221637b7683a0f1be4cce5043d290 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 13 Feb 2026 11:18:13 +0100 Subject: [PATCH] Add "dev" to the version banner to clarify And modify the banner accordingly depending on whether it's a snapshot release or not. --- testssl.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/testssl.sh b/testssl.sh index b607590..834244e 100755 --- a/testssl.sh +++ b/testssl.sh @@ -122,7 +122,7 @@ trap "child_error" USR1 ########### Internal definitions # -declare -r VERSION="3.3-snapshot-2602" +declare -r VERSION="3.3dev-snapshot-2602" # shellcheck disable=SC2034 declare -r SWCONTACT="dirk aet testssl dot sh" [[ "$VERSION" =~ dev|rc|beta|snapshot ]] && \ @@ -21851,14 +21851,16 @@ prepare_arrays() { mybanner() { local bb1 bb2 bb3 local spaces=" " + local add="" local full="$1" # we have a short version and a longer one (two liner vs 4 liner) local short_built_date="" # a reduced version of the build date in the short banner "$QUIET" && return "$CHILD_MASS_TESTING" && return + [[ $VERSION =~ snapshot ]] && add="###" bb1=$(cat <