prodriguezdefino commented on code in PR #40508:
URL: https://github.com/apache/beam/pull/40508#discussion_r4591559573


##########
release/src/main/scripts/set_version.sh:
##########
@@ -115,4 +118,5 @@ if [[ "$GIT_ADD" == yes ]] ; then
   git add runners/google-cloud-dataflow-java/build.gradle
   git add sdks/typescript/package.json
   git add scripts/beam-sql.sh
+  git add 'sdks/rust/*Cargo.toml' sdks/rust/Cargo.lock

Review Comment:
   I keep this line as it is. In a Git pathspec, * also matches /, so 
'sdks/rust/*Cargo.toml' matches the nested manifests.
   
   git ls-files 'sdks/rust/*Cargo.toml' on the full Rust SDK branch returns 60 
manifests, at all directory depths. The list includes 
sdks/rust/beam/model/Cargo.toml.
   
   The suggested 'sdks/rust/**/Cargo.toml' does not help with 
--literal-pathspecs. In that mode both forms match no file: git 
--literal-pathspecs ls-files returns 0 files for each of them.



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