We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49df30b commit c0b8d94Copy full SHA for c0b8d94
1 file changed
bump-versions-in-pom.sh
@@ -157,6 +157,12 @@ s/.*<groupId>\([^<]*\).*<artifactId>'"$artifactId"'<.*/\1/p
157
}' pom.xml | head -n 1):$artifactId"
158
latest_message=" (latest $ga)"
159
value="$(sh "$maven_helper" latest-version "$ga")"
160
+ test -n "$value" || {
161
+ echo "Warning: no version found for $ga" >&2
162
+ shift
163
164
+ continue
165
+ }
166
fi
167
168
p="$(sed_quote "$property")"
0 commit comments