echauchot commented on code in PR #38:
URL:
https://github.com/apache/flink-connector-shared-utils/pull/38#discussion_r1500367076
##########
_utils.sh:
##########
@@ -68,4 +68,15 @@ function set_pom_version {
new_version=$1
${MVN} org.codehaus.mojo:versions-maven-plugin:2.8.1:set
-DnewVersion=${new_version} -DgenerateBackupPoms=false --quiet
+}
+
+function is_flink_version_set_in_pom {
+ set +u
+ version=$(${MVN} help:evaluate -Dexpression="flink.version" -q -DforceStdout)
+ if [ -n "${version}" ]; then
Review Comment:
I forgot to tell that I tested the last change like this:
- did a connector-parent local release as is in parent_pom branch
- did a connector-parent local release with flink.version references removed
from the pom
- did a cassandra connector local release
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]