| # 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. |
| |
| # Shared config for the Apache Doris release helper scripts. |
| # Edit values here; 01/02/03/04 all `source` this file. |
| # |
| # This release: 4.0.6-rc02 (tag already created & pushed to apache/doris) |
| |
| ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" |
| |
| # --- Repo & version --- |
| REPO_DIR="${ROOT}/../../" |
| VERSION="4.0.6" |
| RC="rc02" |
| TAG="${VERSION}-${RC}" # 4.0.6-rc02 |
| GIT_REMOTE="upstream-apache" # remote pointing at github.com/apache/doris |
| |
| # --- Artifact naming --- |
| # Vote artifacts keep the RC in the file name. Step 04 publishes the final |
| # release artifacts with the RC removed from the file name. |
| PKG_BASE="apache-doris-${TAG}-src" # -> apache-doris-4.0.6-rc02-src.tar.gz |
| ARCHIVE_PREFIX="${PKG_BASE}/" # top-level dir inside the tarball |
| RELEASE_PKG_BASE="apache-doris-${VERSION}-src" |
| |
| # --- Work area (OUTSIDE the git repo: artifacts + svn checkouts live here) --- |
| WORK_DIR="${ROOT}/${TAG}" |
| |
| # --- Prebuilt binary artifacts (OPTIONAL; signed locally; uploaded MANUALLY by you) --- |
| # Step 02 writes a .asc signature and a .sha512 checksum NEXT TO each file listed here. |
| # These are NOT uploaded by the scripts and are NOT part of the source-only vote SVN; |
| # you upload the binaries together with their .asc/.sha512 yourself, wherever they go. |
| # Leave the list empty (the default) for the source-only flow. To also sign binaries, |
| # set absolute paths to your prebuilt binary tarballs, e.g.: |
| # BIN_FILES=( |
| # "${WORK_DIR}/apache-doris-${VERSION}-bin-x64.tar.gz" |
| # "${WORK_DIR}/apache-doris-${VERSION}-bin-x64-noavx2.tar.gz" |
| # "${WORK_DIR}/apache-doris-${VERSION}-bin-arm64.tar.gz" |
| # ) |
| BIN_FILES=() |
| |
| # Public download base for the convenience binaries advertised in the vote email. |
| # Step 03 lists each BIN_FILES basename under this URL (+ .asc / .sha512); |
| # when BIN_FILES is empty the email omits the convenience-binaries section. |
| BIN_DOWNLOAD_BASE="https://apache-doris-releases.oss-accelerate.aliyuncs.com" |
| |
| # --- Signer identity --- |
| APACHE_ID="morningman" |
| APACHE_EMAIL="morningman@apache.org" |
| SIGNER_NAME="Mingyu Chen" # display name used to sign the vote email |
| # Key passed to `gpg -u`. Leave EMPTY to auto-detect the only local secret key. |
| SIGNING_KEY="" # use `gpg --list-keys` to get |
| |
| # --- Apache dist SVN (vote artifacts are SOURCE-ONLY; no binaries) --- |
| DEV_SVN_BASE="https://dist.apache.org/repos/dist/dev/doris" |
| DEV_SVN_DIR="${DEV_SVN_BASE}/${TAG}" # <-- vote folder. VERIFY this URL before committing. |
| RELEASE_SVN_BASE="https://dist.apache.org/repos/dist/release/doris" |
| RELEASE_SERIES="${VERSION%.*}" # e.g. 4.0.7 -> 4.0 |
| RELEASE_SVN_DIR="${RELEASE_SVN_BASE}/${RELEASE_SERIES}/${VERSION}" # final release folder, no RC suffix |
| KEYS_URL="https://downloads.apache.org/doris/KEYS" |
| |
| # --- ASF credentials: export in your shell before running (NOT stored here) --- |
| # export ASF_USERNAME=morningman |
| # export ASF_PASSWORD='...' # Apache LDAP password |
| |
| # --- Vote email --- |
| DEV_LIST="dev@doris.apache.org" |
| RELEASE_NOTES_URL="" # leave empty -> step 03 will prompt you for the issue link |
| VERIFY_GUIDE_URL="https://doris.apache.org/community/release-and-verify/release-verify" |
| |
| # --- Announce email --- |
| DOWNLOAD_PAGE_URL="https://doris.apache.org/download/" |
| ANNOUNCE_RELEASE_NOTES_URL="" # leave empty -> step 04 will reuse RELEASE_NOTES_URL or prompt |