### _Why are the changes needed?_ The release-related shell scripts should have execution permission. ### _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/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4377 from pan3793/x. Closes #4377 fb727adc [Cheng Pan] Grant execute permission to release scripts Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
86 lines
2.7 KiB
Bash
Executable File
86 lines
2.7 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
# (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
set -o pipefail
|
|
set -e
|
|
|
|
RELEASE_DIR="$(cd "$(dirname "$0")"/..; pwd)"
|
|
|
|
######### Please modify the variables ##########
|
|
# release version, e.g. 1.7.0
|
|
release_version=${release_version:-""}
|
|
################################################
|
|
|
|
if [[ -z $release_version ]]; then
|
|
echo "Please input release version"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Release version: ${release_version}"
|
|
|
|
RELEASE_TEMP_DIR=${RELEASE_DIR}/tmp
|
|
mkdir -p ${RELEASE_TEMP_DIR}
|
|
ANNOUNCE=${RELEASE_TEMP_DIR}/${release_version}_announce.temp
|
|
|
|
cat >$ANNOUNCE<<EOF
|
|
Title: [ANNOUNCE] Apache Kyuubi released ${release_version}
|
|
|
|
Content:
|
|
Hi all,
|
|
|
|
The Apache Kyuubi community is pleased to announce that
|
|
Apache Kyuubi ${release_version} has been released!
|
|
|
|
Apache Kyuubi is a distributed and multi-tenant gateway to provide
|
|
serverless SQL on data warehouses and lakehouses.
|
|
|
|
Kyuubi provides a pure SQL gateway through Thrift JDBC/ODBC interface
|
|
for end-users to manipulate large-scale data with pre-programmed and
|
|
extensible Spark SQL engines.
|
|
|
|
We are aiming to make Kyuubi an "out-of-the-box" tool for data warehouses
|
|
and lakehouses.
|
|
|
|
This "out-of-the-box" model minimizes the barriers and costs for end-users
|
|
to use Spark at the client side.
|
|
|
|
At the server-side, Kyuubi server and engine's multi-tenant architecture
|
|
provides the administrators a way to achieve computing resource isolation,
|
|
data security, high availability, high client concurrency, etc.
|
|
|
|
The full release notes and download links are available at:
|
|
Release Notes: https://kyuubi.apache.org/release/${release_version}.html
|
|
|
|
To learn more about Apache Kyuubi, please see
|
|
https://kyuubi.apache.org/
|
|
|
|
Kyuubi Resources:
|
|
- Issue: https://github.com/apache/kyuubi/issues
|
|
- Mailing list: dev@kyuubi.apache.org
|
|
|
|
We would like to thank all contributors of the Kyuubi community
|
|
who made this release possible!
|
|
|
|
Thanks,
|
|
On behalf of Apache Kyuubi community
|
|
EOF
|
|
|
|
echo "please Use announce@apache.org, dev@kyuubi.apache.org, user@spark.apache.org
|
|
see announce content in $ANNOUNCE"
|