From 8770551bf5dc9b861d0c088a88096b679b5946b4 Mon Sep 17 00:00:00 2001 From: Jorge Antonio Diaz-Benito Soriano Date: Sat, 18 Nov 2023 22:21:02 +0100 Subject: [PATCH] Fix (c) causing a c into versions in dependency report --- .scripts/dependency_report_generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/dependency_report_generate.sh b/.scripts/dependency_report_generate.sh index b4a0f8fb..64ce4d86 100755 --- a/.scripts/dependency_report_generate.sh +++ b/.scripts/dependency_report_generate.sh @@ -30,7 +30,7 @@ if [ -z "${CONFIGURATION+x}" ]; then exit 1 fi -read -r -d '' -a WITH_ADJUSTED < <(./gradlew --console=plain "$MODULE":dependencies --configuration "$CONFIGURATION" | grep --color=never -o "\S*:.*:.*" | grep --color=never -v "/" | fgrep --color=never -v "$MODULE:dependencies" | awk 'NR > 1' | tr -d " (*)" && printf '\0' ) +read -r -d '' -a WITH_ADJUSTED < <(./gradlew --console=plain "$MODULE":dependencies --configuration "$CONFIGURATION" | grep --color=never -o "\S*:.*:.*" | grep --color=never -v "/" | fgrep --color=never -v "$MODULE:dependencies" | tr -d " " | sed 's/(\*)//' | sed 's/(c)//' && printf '\0' ) RESOLVED=() REGEX_PATTERN_DEPENDENCY_WITH_VERSION_UPGRADED='.*:.*:.*->.*'