Skip to content

Commit 1d3b94a

Browse files
committed
chore: Use source filter for linkage checker
1 parent 1b9b6f2 commit 1d3b94a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.kokoro/nightly/downstream-protobuf-binary-compatibility.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ fi
3131

3232
git clone https://github.com/lqiu96/cloud-opensource-java.git
3333
pushd cloud-opensource-java
34+
git checkout source-filter
3435
mvn -B -ntp clean compile
3536
pushd dependencies
3637

@@ -53,7 +54,7 @@ for repo in ${REPOS_UNDER_TEST//,/ }; do # Split on comma
5354
version=$(echo "${primary_artifact}" | tr ':' '\n' | tail -n 1)
5455
echo "${version}"
5556

56-
mvn -B -ntp exec:java -Dexec.mainClass="com.google.cloud.tools.opensource.classpath.LinkageCheckerMain" -Dexec.args="-r --artifacts com.google.cloud:google-cloud-${repo_name}:${version}"
57+
mvn -B -ntp exec:java -Dexec.mainClass="com.google.cloud.tools.opensource.classpath.LinkageCheckerMain" -Dexec.args="-r --artifacts com.google.cloud:google-cloud-${repo_name}:${version},com.google.protobuf:protobuf-java:${PROTOBUF_RUNTIME_VERSION} -s com.google.cloud:google-cloud-${repo_name}:${version}"
5758
popd
5859
done
5960
popd

0 commit comments

Comments
 (0)