diff --git a/.github/workflows/renovate-app-version.sh b/.github/workflows/renovate-app-version.sh index 3a134a74..3b5f8d60 100644 --- a/.github/workflows/renovate-app-version.sh +++ b/.github/workflows/renovate-app-version.sh @@ -45,11 +45,12 @@ process_image() { date_version=$(echo "$trimmed_version" | grep -oE '[0-9]{4}-[0-9]{2}-[0-9]{2}') if [[ -n "$date_version" ]]; then if [[ "$found_alpine" == true ]]; then - date_version="$date_version-alpine" + cleaned_version="$date_version-alpine" + echo "Date alpine version: $date_version" else cleaned_version=$date_version + echo "Date version: $date_version" fi - echo "Date version: $date_version" return fi @@ -57,11 +58,12 @@ process_image() { number_version=$(echo "$trimmed_version" | grep -oE '[0-9]+(\.[0-9]+){0,3}' | head -n1) if [[ -n "$number_version" ]]; then if [[ "$found_alpine" == true ]]; then - number_version="$number_version-alpine" + cleaned_version="$number_version-alpine" + echo "Number alpine version: $number_version" else cleaned_version=$number_version + echo "Number version: $number_version" fi - echo "Number version: $number_version" return fi