Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit b50633b

Browse files
fix: Update dependencies.sh to not break on mac (#565)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/939680b7-f623-4b9b-a53e-0d084c3e581a/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: googleapis/synthtool@8f76a88
1 parent c2d8905 commit b50633b

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.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,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-dlp.git",
7-
"sha": "c6b13545ffa91f21cf2348b95bd4e0b6fb74ebe6"
7+
"sha": "c2d89052d4cbb63442ff81b3ea45c91ed8cad55d"
88
}
99
},
1010
{
@@ -19,7 +19,7 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6"
22+
"sha": "8f76a885deaaf2fe234daeba4a8cc4d1b3de8086"
2323
}
2424
}
2525
],
@@ -98,6 +98,7 @@
9898
"CODE_OF_CONDUCT.md",
9999
"CONTRIBUTING.md",
100100
"LICENSE",
101+
"SECURITY.md",
101102
"codecov.yaml",
102103
"google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java",
103104
"google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java",

0 commit comments

Comments
 (0)