Skip to content
Permalink
Browse files
fix: Update dependencies.sh to not break on mac (#186)
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/acfd70d5-0dee-4a47-95a7-8f3e4540cb2f/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Source-Link: googleapis/synthtool@8f76a88
  • Loading branch information
yoshi-automation committed Jun 15, 2021
1 parent 6f1b209 commit ae7323289c966d7690fcfcf672e19a58797be3df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
@@ -46,7 +46,7 @@ function completenessCheck() {
# This is stripped from the output as it is not present in the flattened pom.
# Only dependencies with 'compile' or 'runtime' scope are included from original dependency list.
msg "Generating dependency list using original pom..."
mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt
mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt

# Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes)
msg "Generating dependency list using flattened pom..."
@@ -70,7 +70,7 @@ function completenessCheck() {
set +e

error_count=0
for path in $(find -name ".flattened-pom.xml")
for path in **/.flattened-pom.xml
do
# Check flattened pom in each dir that contains it for completeness
dir=$(dirname "$path")
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-common-protos.git",
"sha": "2807c8c5459e59d148d1501e39930be7992b06ca"
"sha": "6f1b209f32d8ee3ae38e9051f29d464fca507c84"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "5f330a45e76ad2b3551c5276aaa818de324632b5"
"sha": "8f76a885deaaf2fe234daeba4a8cc4d1b3de8086"
}
}
],
@@ -89,6 +89,7 @@
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"LICENSE",
"SECURITY.md",
"codecov.yaml",
"grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java",
"java.header",

0 comments on commit ae73232

Please sign in to comment.