lihaosky commented on code in PR #28365:
URL: https://github.com/apache/flink/pull/28365#discussion_r3382267940


##########
tools/releasing/create_release_branch.sh:
##########
@@ -67,6 +67,11 @@ VERSION_TITLE=$(echo $NEW_VERSION | sed 's/\.[^.]*$//')
 perl -pi -e "s#^  VersionTitle = .*#  VersionTitle = \"${VERSION_TITLE}\"#" 
config.toml
 cd ..
 
+#change version in generated REST API specifications yml files
+cd docs/static/generated
+perl -pi -e "s#^(  version: 
v\d+/)${VERSION_TITLE}-SNAPSHOT#\${1}${NEW_VERSION}#" *.yml

Review Comment:
   Is it supposed to drop `SNAPSHOT` in new branch? I see it's not dropped in 
https://github.com/apache/flink/blob/release-2.3/docs/static/generated/rest_v1_sql_gateway.yml#L9C3-L9C27



-- 
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]

Reply via email to