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

Commit 2cfa1f1

Browse files
fix: Update dependencies.sh to not break on mac (#480)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/910ec112-ec09-4d83-9939-9afa746354f3/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: googleapis/synthtool@8f76a88
1 parent e4964ac commit 2cfa1f1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"git": {
3636
"name": "synthtool",
3737
"remote": "https://github.com/googleapis/synthtool.git",
38-
"sha": "8eae0234a16b26c2ff616d305dbd9786c8b10a47"
38+
"sha": "8f76a885deaaf2fe234daeba4a8cc4d1b3de8086"
3939
}
4040
}
4141
],
@@ -135,6 +135,7 @@
135135
"CODE_OF_CONDUCT.md",
136136
"CONTRIBUTING.md",
137137
"LICENSE",
138+
"SECURITY.md",
138139
"codecov.yaml",
139140
"google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerClient.java",
140141
"google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerSettings.java",

0 commit comments

Comments
 (0)