Skip to content

Commit 217dd6e

Browse files
fix: Update dependencies.sh to not break on mac
Source-Author: dpcollins-google <[email protected]> Source-Date: Tue Jun 15 14:06:42 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 8f76a885deaaf2fe234daeba4a8cc4d1b3de8086 Source-Link: googleapis/synthtool@8f76a88
1 parent 4e3b3c3 commit 217dd6e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.kokoro/dependencies.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function completenessCheck() {
4646
# This is stripped from the output as it is not present in the flattened pom.
4747
# Only dependencies with 'compile' or 'runtime' scope are included from original dependency list.
4848
msg "Generating dependency list using original pom..."
49-
mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt
49+
mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt
5050

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

7272
error_count=0
73-
for path in $(find -name ".flattened-pom.xml")
73+
for path in **/.flattened-pom.xml
7474
do
7575
# Check flattened pom in each dir that contains it for completeness
7676
dir=$(dirname "$path")

synth.metadata

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/google-http-java-client.git",
7-
"sha": "e69275ecaa4d85372ebc253dd415a02ba63075be"
7+
"sha": "4e3b3c3cebeb8439e729a9f99b58e5fc5e13e2cf"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "8eae0234a16b26c2ff616d305dbd9786c8b10a47"
14+
"sha": "8f76a885deaaf2fe234daeba4a8cc4d1b3de8086"
1515
}
1616
}
1717
],
@@ -81,6 +81,7 @@
8181
"CODE_OF_CONDUCT.md",
8282
"CONTRIBUTING.md",
8383
"LICENSE",
84+
"SECURITY.md",
8485
"codecov.yaml",
8586
"renovate.json",
8687
"samples/install-without-bom/pom.xml",

0 commit comments

Comments
 (0)