Skip to content

Commit

Permalink
chore: fix requirements file path in release scripts (#750)
Browse files Browse the repository at this point in the history
* chore: fix requirements file path in release scripts
  • Loading branch information
mpeddada1 committed Sep 16, 2022
1 parent 76cc431 commit 222e948
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion java-texttospeech/.kokoro/release/publish_javadoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ fi
pushd $(dirname "$0")/../../

# install docuploader package
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt)
python3 -m pip install --require-hashes -r $requirementsFile

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

# install docuploader package
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt)
python3 -m pip install --require-hashes -r $requirementsFile

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

# Start the releasetool reporter
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt)
python3 -m pip install --require-hashes -r $requirementsFile
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script

source $(dirname "$0")/common.sh
Expand Down

0 comments on commit 222e948

Please sign in to comment.