HBASE-25573 release script generated vote template has incorrect staging area (#2952)

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Sean Busbey 2021-03-15 16:19:21 -05:00 committed by GitHub
parent 630f47e4ec
commit 21409bf4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -214,6 +214,11 @@ fi
git clean -d -f -x
cd ..
if [[ "$PROJECT" =~ ^hbase- ]]; then
DEST_DIR_NAME="${PROJECT}-${package_version_name}"
else
DEST_DIR_NAME="$package_version_name"
fi
if [[ "$1" == "publish-dist" ]]; then
# Source and binary tarballs
@ -225,11 +230,6 @@ if [[ "$1" == "publish-dist" ]]; then
make_binary_release "${PROJECT}" "${RELEASE_VERSION}"
fi
if [[ "$PROJECT" =~ ^hbase- ]]; then
DEST_DIR_NAME="${PROJECT}-${package_version_name}"
else
DEST_DIR_NAME="$package_version_name"
fi
svn_target="svn-${PROJECT}"
svn co --depth=empty "$RELEASE_STAGING_LOCATION" "$svn_target"
rm -rf "${svn_target:?}/${DEST_DIR_NAME}"

View File

@ -17,7 +17,7 @@ This tag currently points to git reference
The release files, including signatures, digests, as well as CHANGES.md
and RELEASENOTES.md included in this RC can be found at:
https://dist.apache.org/repos/dist/dev/hbase/${RELEASE_TAG}/
https://dist.apache.org/repos/dist/dev/hbase/${DEST_DIR_NAME}/
Maven artifacts are available in a staging repository at: