6.2.1-debian-10-r35 release

This commit is contained in:
Bitnami Bot
2021-04-08 12:49:05 +00:00
parent 88cba8f250
commit 00ec645092
4 changed files with 6 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/redis-sentinel/postunpack.sh
ENV BITNAMI_APP_NAME="redis-sentinel" \
BITNAMI_IMAGE_VERSION="6.2.1-debian-10-r34"
BITNAMI_IMAGE_VERSION="6.2.1-debian-10-r35"
EXPOSE 26379

View File

@@ -106,5 +106,7 @@ indent() {
for ((i = 0; i < num; i++)); do
indent_unit="${indent_unit}${char}"
done
# shellcheck disable=SC2001
# Complex regex, see https://github.com/koalaman/shellcheck/wiki/SC2001#exceptions
echo "$string" | sed "s/^/${indent_unit}/"
}

View File

@@ -9,7 +9,7 @@
# Functions
########################
# Gets semantic version
# Gets semantic version
# Arguments:
# $1 - version: string to extract major.minor.patch
# $2 - section: 1 to extract major, 2 to extract minor, 3 to extract patch
@@ -38,7 +38,7 @@ get_sematic_version () {
done
local number_regex='^[0-9]+$'
if [[ "$section" =~ $number_regex ]] && (( $section > 0 )) && (( $section <= 3 )); then
if [[ "$section" =~ $number_regex ]] && (( section > 0 )) && (( section <= 3 )); then
echo "${version_sections[$section]}"
return
else