Skip to content

Commit

Permalink
Move maven release script under maven directory.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 301881968
  • Loading branch information
gkdn authored and Copybara-Service committed Mar 19, 2020
1 parent 3fb3be7 commit e68a27e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ usage() {
echo "$(basename $0) --version <version> [--no-deploy]"
echo " --help"
echo " Print this help output and exit."
echo " --version-file <version>"
echo " --version <version>"
echo " Maven version to use for deploying to sonatype."
echo " --no-deploy"
echo " Skip the deployment part but build all artifacts."
Expand Down Expand Up @@ -62,7 +62,12 @@ if [[ -z "$lib_version" ]]; then
exit 1
fi

bazel_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ ! -f "WORKSPACE" ]; then
echo "Error: should be run from the root of the Bazel repository"
exit 1
fi

bazel_root=$(pwd)

merge_jars() {
tmp_directory=$(mktemp -d)
Expand Down

0 comments on commit e68a27e

Please sign in to comment.