Skip to content

Commit

Permalink
chore: update pip install statements in release scripts to use requir…
Browse files Browse the repository at this point in the history
…ements.txt (#743)

* chore: update pip install statements in release scripts to use requirements.txt file
  • Loading branch information
mpeddada1 committed Sep 15, 2022
1 parent 5a85347 commit 4474864
Show file tree
Hide file tree
Showing 7 changed files with 406 additions and 6 deletions.
2 changes: 1 addition & 1 deletion java-texttospeech/.kokoro/release/publish_javadoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi
pushd $(dirname "$0")/../../

# install docuploader package
python3 -m pip install gcp-docuploader
python3 -m pip install --require-hashes -r .kokoro/requirements.txt

# compile all packages
mvn clean install -B -q -DskipTests=true
Expand Down
2 changes: 1 addition & 1 deletion java-texttospeech/.kokoro/release/publish_javadoc11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi
pushd $(dirname "$0")/../../

# install docuploader package
python3 -m pip install gcp-docuploader
python3 -m pip install --require-hashes -r .kokoro/requirements.txt

# compile all packages
mvn clean install -B -q -DskipTests=true
Expand Down
2 changes: 1 addition & 1 deletion java-texttospeech/.kokoro/release/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
set -eo pipefail

# Start the releasetool reporter
python3 -m pip install gcp-releasetool
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script

source $(dirname "$0")/common.sh
Expand Down
2 changes: 2 additions & 0 deletions java-texttospeech/.kokoro/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
gcp-docuploader
gcp-releasetool
392 changes: 392 additions & 0 deletions java-texttospeech/.kokoro/requirements.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions java-texttospeech/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ implementation 'com.google.cloud:google-cloud-texttospeech'
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-texttospeech:2.4.2'
implementation 'com.google.cloud:google-cloud-texttospeech:2.4.4'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.4.2"
libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.4.4"
```

## Authentication
Expand Down
8 changes: 7 additions & 1 deletion java-texttospeech/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,10 @@
s.move(library)

s.remove_staging_dirs()
java.common_templates()
java.common_templates(
excludes=[
".kokoro/release/publish_javadoc.sh",
".kokoro/release/publish_javadoc11.sh",
".kokoro/release/stage.sh"
]
)

0 comments on commit 4474864

Please sign in to comment.