[KYUUBI #1026] [BUILD] Rename tarball to apache-kyuubi

<!--
Thanks for sending a pull request!

Here are some tips for you:
  1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
  2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
  3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
-->

### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
  1. If you add a feature, you can talk about the use case of it.
  2. If you fix a bug, you can clarify why it is a bug.
-->
Close #1024

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #1026 from pan3793/tarball.

Closes #1026

bc515aab [Cheng Pan] [BUILD] Rename tarball to apache-kyuubi

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit fdd51d55f8)
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
Cheng Pan 2021-09-05 00:21:35 +08:00
parent 2bafbf38a2
commit 3312bbb2c0
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D
5 changed files with 8 additions and 8 deletions

2
.gitignore vendored
View File

@ -46,7 +46,7 @@ build/scala*
build/test
target/
dist/
kyuubi-*-bin*
apache-kyuubi-*-bin*
*.gz
logs/
pid/

View File

@ -155,7 +155,7 @@ if [[ "$NAME" == "none" ]]; then
fi
if [[ "$MAKE_TGZ" == "true" ]]; then
echo "Making kyuubi-$VERSION-bin$SUFFIX.tgz"
echo "Making apache-kyuubi-$VERSION-bin$SUFFIX.tgz"
else
echo "Making distribution for Kyuubi $VERSION in '$DISTDIR'..."
fi
@ -228,7 +228,7 @@ cp -r "$KYUUBI_HOME/conf" "$DISTDIR"
cp -r "$KYUUBI_HOME/docker" "$DISTDIR"
if [[ "$MAKE_TGZ" == "true" ]]; then
TARDIR_NAME="kyuubi-$VERSION-bin$SUFFIX"
TARDIR_NAME="apache-kyuubi-$VERSION-bin$SUFFIX"
TARDIR="$KYUUBI_HOME/$TARDIR_NAME"
rm -rf "$TARDIR"
cp -r "$DISTDIR" "$TARDIR"

View File

@ -50,7 +50,7 @@ if [ "$(uname)" == "Darwin" ]; then
fi
package_source() {
SRC_TGZ_FILE="kyuubi-${RELEASE_VERSION}-source.tgz"
SRC_TGZ_FILE="apache-kyuubi-${RELEASE_VERSION}-source.tgz"
SRC_TGZ="${RELEASE_DIR}/${SRC_TGZ_FILE}"
mkdir -p "${RELEASE_DIR}"
@ -67,7 +67,7 @@ package_source() {
}
package_binary() {
BIN_TGZ_FILE="kyuubi-${RELEASE_VERSION}-bin.tgz"
BIN_TGZ_FILE="apache-kyuubi-${RELEASE_VERSION}-bin.tgz"
BIN_TGZ="${RELEASE_DIR}/${BIN_TGZ_FILE}"
mkdir -p "${RELEASE_DIR}"

View File

@ -72,8 +72,8 @@ upload_svn_staging() {
mkdir -p "${SVN_STAGING_DIR}/${RELEASE_TAG}"
rm -f "${SVN_STAGING_DIR}/${RELEASE_TAG}/*"
SRC_TGZ_FILE="kyuubi-${RELEASE_VERSION}-source.tgz"
BIN_TGZ_FILE="kyuubi-${RELEASE_VERSION}-bin.tgz"
SRC_TGZ_FILE="apache-kyuubi-${RELEASE_VERSION}-source.tgz"
BIN_TGZ_FILE="apache-kyuubi-${RELEASE_VERSION}-bin.tgz"
echo "Copying release tarballs"
cp "${RELEASE_DIR}/${SRC_TGZ_FILE}" "${SVN_STAGING_DIR}/${RELEASE_TAG}/${SRC_TGZ_FILE}"

View File

@ -1455,7 +1455,7 @@
<exclude>build/scala-*/**</exclude>
<exclude>**/**/operation_logs/**/**</exclude>
<exclude>**/*.output.schema</exclude>
<exclude>**/kyuubi-*-bin*/**</exclude>
<exclude>**/apache-kyuubi-*-bin*/**</exclude>
</excludes>
</configuration>
</plugin>