Skip to content

Commit f2d9900

Browse files
ludochgae-java-bot
authored andcommitted
Adding --require-hashes to the pip install commands.
PiperOrigin-RevId: 747487574 Change-Id: Ibfb8dbba8926bce9a2ea70802459df30f66efb5d
1 parent 00321db commit f2d9900

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kokoro/gcp_ubuntu/publish_javadoc.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ setup_docuploader() {
2525
sudo apt-get install -y python3 python3-pip maven
2626
# install docuploader package with upgrade to get latest correct versions.
2727
echo "Trying to install gcp-docuploader."
28-
python3 -m pip install --upgrade pip --user
29-
python3 -m pip install gcp-docuploader --user
30-
python3 -m pip install --upgrade protobuf --user
28+
python3 -m pip install --require-hashes --upgrade pip --user
29+
python3 -m pip install --require-hashes gcp-docuploader --user
30+
python3 -m pip install --require-hashes --upgrade protobuf --user
3131
}
3232

3333
if [[ -z "${CREDENTIALS}" ]]; then

0 commit comments

Comments
 (0)