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

Commit 9d74a7f

Browse files
fix: Update dependencies.sh to not break on mac (#897)
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
1 parent 3b11179 commit 9d74a7f

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
@@ -11,7 +11,7 @@
1111
"git": {
1212
"name": ".",
1313
"remote": "https://github.com/googleapis/java-bigquerydatatransfer.git",
14-
"sha": "41da1a64c70ac439132cae2bc4ea515f11af01e9"
14+
"sha": "3b111795192b249de3d160b5d669f2b447af0691"
1515
}
1616
},
1717
{
@@ -26,7 +26,7 @@
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6"
29+
"sha": "8f76a885deaaf2fe234daeba4a8cc4d1b3de8086"
3030
}
3131
}
3232
],
@@ -105,6 +105,7 @@
105105
"CODE_OF_CONDUCT.md",
106106
"CONTRIBUTING.md",
107107
"LICENSE",
108+
"SECURITY.md",
108109
"codecov.yaml",
109110
"google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceClient.java",
110111
"google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceSettings.java",

0 commit comments

Comments
 (0)