Skip to content

Commit 225fe81

Browse files
committed
chore: modify show-spring-boot-version-diff.sh script to fail when file not found
1 parent c67a1b6 commit 225fe81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scripts/show-spring-boot-version-diff.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ printf "Comparing with Spring Boot %s (project vs spring versions)\\n\\n" "$SPRI
2222
# shellcheck disable=SC2002
2323
join \
2424
<(cat "$PROJECT_POM" | awk -F'[<>]' -v OFS='\t' '$2~/\.version$/{print $2, $3}' | sort) \
25-
<(curl -s "$SPRING_POM" | awk -F'[<>]' -v OFS='\t' '$2~/\.version$/{print $2, $3}' | sort) \
25+
<(curl -sS --fail-with-body "$SPRING_POM" | awk -F'[<>]' -v OFS='\t' '$2~/\.version$/{print $2, $3}' | sort) \
2626
| awk '
2727
{
2828
if ($2 != $3){

0 commit comments

Comments
 (0)