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


##########
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:
   Thanks for the comments @lihaosky 
   IIUC, This script is intended for building release branches only.
   For example, if we are currently releasing version 2.3.0, running this 
script on the release-2.3 branch will create a new branch named release-2.3.0. 
Subsequent workflows will then build tags (e.g., release-2.3.0-rcx) on this new 
branch. Additionally, all version-related metadata in the current context 
should be updated to reflect 2.3.0.



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