File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ SPRING_VERSION='2.2.13.RELEASE'
1818# SPRING_VERSION="$(grep -FA1 '<artifactId>spring-boot-starter-parent' "$PROJECT_POM" | awk -F'[<>]' '/<version>/{print $3}')"
1919
2020# @todo #869 show-spring-boot-version-diff.sh: properly handle recursive properties
21- SPRING_POM=" https://raw.githubusercontent.com/spring-projects/spring-boot/v$SPRING_VERSION /spring-boot-project/spring-boot-dependencies/pom.xml"
21+ SPRING_POM=" $( curl -sS --fail-with-body https://raw.githubusercontent.com/spring-projects/spring-boot/v$SPRING_VERSION /spring-boot-project/spring-boot-dependencies/pom.xml) "
2222
2323printf " Comparing with Spring Boot %s (project vs spring versions)\\ n\\ n" " $SPRING_VERSION "
2424
2525# I know about useless cat below, but it's here for better readability.
2626# shellcheck disable=SC2002
2727join \
28- <( cat " $PROJECT_POM " | awk -F' [<>]' -v OFS=' \t' ' $2~/\.version$/{print $2, $3}' | sort) \
29- <( curl -sS --fail-with-body " $SPRING_POM " | awk -F' [<>]' -v OFS=' \t' ' $2~/\.version$/{print $2, $3}' | sort) \
28+ <( cat " $PROJECT_POM " | awk -F' [<>]' -v OFS=' \t' ' $2~/\.version$/{print $2, $3}' | sort) \
29+ <( echo " $SPRING_POM " | awk -F' [<>]' -v OFS=' \t' ' $2~/\.version$/{print $2, $3}' | sort) \
3030 | awk '
3131 {
3232 if ($2 != $3){
You can’t perform that action at this time.
0 commit comments