This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git
The following commit(s) were added to refs/heads/trunk by this push: new cdf0ec5 Fix error when gpg_key is not set and add check for mvn cdf0ec5 is described below commit cdf0ec532635ce069c3406a176846209c9be8af5 Author: Brandon Williams <brandonwilli...@apache.org> AuthorDate: Mon Apr 15 12:32:08 2024 -0500 Fix error when gpg_key is not set and add check for mvn Patch by brandonwilliams; reviewed by bereng for CASSANDRA-19559 --- cassandra-release/prepare_release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cassandra-release/prepare_release.sh b/cassandra-release/prepare_release.sh index a9e6ceb..cff842e 100755 --- a/cassandra-release/prepare_release.sh +++ b/cassandra-release/prepare_release.sh @@ -9,7 +9,7 @@ if [ -z "$gpg_key" ]; then fi if [ "$gpg_key" = "XXXXXXXX" ]; then - exit -e "Gpg key is unset. Pleae set gpg_key variable." + echo >&2 "Gpg key is unset. Pleae set gpg_key variable." && exit 1 fi # The name of remote for the asf remote in your git repo @@ -28,6 +28,7 @@ command -v reprepro >/dev/null 2>&1 || { echo >&2 "reprepro needs to be installe command -v rpmsign >/dev/null 2>&1 || { echo >&2 "rpmsign needs to be installed"; exit 1; } command -v docker >/dev/null 2>&1 || { echo >&2 "docker needs to be installed"; exit 1; } command -v createrepo_c >/dev/null 2>&1 || { echo >&2 "createrepo_c needs to be installed"; exit 1; } +command -v mvn >/dev/null 2>&1 || { echo >&2 "mvn needs to be installed"; exit 1; } (docker info >/dev/null 2>&1) || { echo >&2 "docker needs to running"; exit 1; } ################### --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org