HBASE-23720 [create-release] Update yetus version used from 0.11.0 to 0.11.1

This commit is contained in:
stack 2020-01-22 18:07:53 -08:00
parent 11b7ecb3af
commit a58f2a4a55
2 changed files with 5 additions and 3 deletions

View File

@ -53,7 +53,8 @@ if [[ -z "$ASF_PASSWORD" ]]; then
stty -echo && printf "ASF password: " && read ASF_PASSWORD && printf '\n' && stty echo stty -echo && printf "ASF password: " && read ASF_PASSWORD && printf '\n' && stty echo
fi fi
for env in ASF_USERNAME ASF_PASSWORD RELEASE_VERSION RELEASE_TAG NEXT_VERSION GIT_EMAIL GIT_NAME GIT_BRANCH; do for env in ASF_USERNAME ASF_PASSWORD RELEASE_VERSION RELEASE_TAG NEXT_VERSION GIT_EMAIL \
GIT_NAME GIT_BRANCH GPG_KEY; do
if [ -z "${!env}" ]; then if [ -z "${!env}" ]; then
echo "$env must be set to run this script" echo "$env must be set to run this script"
exit 1 exit 1

View File

@ -18,7 +18,8 @@
# #
DRY_RUN=${DRY_RUN:-0} DRY_RUN=${DRY_RUN:-0}
GPG="gpg --pinentry-mode loopback --no-tty --batch" GPG="gpg --pinentry-mode loopback --no-tty --batch"
YETUS_VERSION=0.11.0 YETUS_VERSION=${YETUS_VERSION:-0.11.1}
set -x
function error { function error {
echo "$*" echo "$*"
@ -296,7 +297,7 @@ function update_releasenotes {
local release_version="$2" local release_version="$2"
local yetus="apache-yetus-${YETUS_VERSION}" local yetus="apache-yetus-${YETUS_VERSION}"
wget -qO- "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=/yetus/${YETUS_VERSION}/${yetus}-bin.tar.gz" | \ wget -qO- "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=/yetus/${YETUS_VERSION}/${yetus}-bin.tar.gz" | \
tar xvz -C . tar xvz -C . || exit
cd ./${yetus} || exit cd ./${yetus} || exit
./bin/releasedocmaker -p HBASE --fileversions -v ${release_version} -l --sortorder=newer --skip-credits ./bin/releasedocmaker -p HBASE --fileversions -v ${release_version} -l --sortorder=newer --skip-credits
# First clear out the changes written by previous RCs. # First clear out the changes written by previous RCs.